ArcGIS Pro 3.0 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, Windows 8.1

    See Also