ArcGIS Pro 2.7 API Reference Guide
IsEqual Method (SpatialReference)

ArcGIS.Core.Geometry Namespace > SpatialReference Class : IsEqual Method
The spatial reference to compare to.
(Optional) The default value is false. If set to true and the other spatial reference is Unknown, true will be returned.
Determines if this instance is the same as the other spatial reference.
Syntax
Public Function IsEqual( _
   ByVal other As SpatialReference, _
   Optional ByVal ignoreUnknown As Boolean _
) As Boolean

Parameters

other
The spatial reference to compare to.
ignoreUnknown
(Optional) The default value is false. If set to true and the other spatial reference is Unknown, true will be returned.

Return Value

Returns true if the spatial references are equal.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

SpatialReference Class
SpatialReference Members