ArcGIS Pro 3.4 API Reference Guide
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.

In This Topic
    IsEqual Method (SpatialReference)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also