ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Geometry Namespace / Segment Class / IsEqual Method / IsEqual(Segment) Method
A segment to test for equality.

In This Topic
    IsEqual(Segment) Method
    In This Topic
    Compares two Segment for equality. Compares SegmentType, SpatialReference, and coordinates for equality.
    Syntax
    public bool IsEqual( 
       Segment other
    )
    Public Overloads Function IsEqual( _
       ByVal other As Segment _
    ) As Boolean

    Parameters

    other
    A segment to test for equality.

    Return Value

    True if the two segment are equal, false otherwise.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.8 or higher.
    See Also