ArcGIS Pro 2.6 API Reference Guide
MapPointBuilder Constructor(Coordinate2D,SpatialReference)

ArcGIS.Core.Geometry Namespace > MapPointBuilder Class > MapPointBuilder Constructor : MapPointBuilder Constructor(Coordinate2D,SpatialReference)
Specifies the x and y coordinates for this instance.
(Optional) The SpatialReference. The default value is null.
Initializes a new instance of the MapPointBuilder class. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Function New( _
   ByVal coord2D As Coordinate2D, _
   Optional ByVal spatialReference As SpatialReference _
)

Parameters

coord2D
Specifies the x and y coordinates for this instance.
spatialReference
(Optional) The SpatialReference. The default value is null.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The resulting MapPointBuilder attribute properties will be HasZ = false, HasM = false, HasID = false.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapPointBuilder Class
MapPointBuilder Members
Overload List