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

In This Topic
    IsEqual Method (Segment)
    In This Topic
    Compares two Segment for equality. Compares SegmentType, SpatialReference, and coordinates for equality.
    Syntax
    public bool IsEqual( 
       Segment other
    )
    Public 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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also