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

IsEqual Method (Segment)
Compares two Segment for equality. Compares SegmentType, SpatialReference, and coordinates for equality.
Syntax
public bool IsEqual( 
   Segment other
)

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

ArcGIS Pro version: 3.0 or higher.
See Also