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

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

ArcGIS Pro version: 3 or higher.
See Also