ArcGIS Pro 2.8 API Reference Guide
CreateMapPoint(Coordinate2D,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > MapPointBuilderEx Class > CreateMapPoint Method : CreateMapPoint(Coordinate2D,SpatialReference) Method
Specifies the X and Y coordinate of the MapPoint.
(Optional) The SpatialReference. The default value is null.
Convenience method to quickly create a MapPoint instance.
Syntax
Public Overloads Shared Function CreateMapPoint( _
   ByVal coordinate2D As Coordinate2D, _
   Optional ByVal spatialReference As SpatialReference _
) As MapPoint

Parameters

coordinate2D
Specifies the X and Y coordinate of the MapPoint.
spatialReference
(Optional) The SpatialReference. The default value is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapPointBuilderEx Class
MapPointBuilderEx Members
Overload List