ArcGIS Pro 2.6 API Reference Guide
IsEqual(Polyline) Method

ArcGIS.Core.Geometry Namespace > Polyline Class > IsEqual Method : IsEqual(Polyline) Method
A geometry to test for equality.
Compares two Polyline for equality. This will check that the SpatialReference, attribute awareness (HasZ, HasM, HasID), and the content of Multipart.Parts match. The order of parts must match too.
Syntax
public bool IsEqual( 
   Polyline other
)
Public Overloads Function IsEqual( _
   ByVal other As Polyline _
) As Boolean

Parameters

other
A geometry to test for equality.

Return Value

Value to indicate if the two geometries are equal.
Remarks
To compare two geometries regardless of their point order you can use the Equals(Geometry,Geometry) method, this is a little more costly to compute.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Polyline Class
Polyline Members
Overload List