ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / Coordinate2D Structure / Explicit Type Conversion Operator
MapPoint instance whose X and Y values will be used as the X and Y value of the Coordinate2D respectively.

In This Topic
    Explicit Type Conversion Operator (Coordinate2D)
    In This Topic
    Allow explicit casting of a MapPoint to a Coordinate2D.
    Syntax
    public Coordinate2D operator explicit( 
       MapPoint point
    )
    Public Operator Narrowing CType( _
       ByVal point As MapPoint _
    ) As Coordinate2D

    Parameters

    point
    MapPoint instance whose X and Y values will be used as the X and Y value of the Coordinate2D respectively.

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also