ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / CreateMultipoint Method / CreateMultipoint(MapPoint,SpatialReference) Method
The point.
(Optional) The spatial reference of the newly created multipoint. If it is null, then the spatial reference will be inherited from the input point.

In This Topic
    CreateMultipoint(MapPoint,SpatialReference) Method
    In This Topic
    Convenience method to create an instance of the Multipoint class.
    Syntax
    public static Multipoint CreateMultipoint( 
       MapPoint point,
       SpatialReference spatialReference
    )
    Public Overloads Shared Function CreateMultipoint( _
       ByVal point As MapPoint, _
       Optional ByVal spatialReference As SpatialReference _
    ) As Multipoint

    Parameters

    point
    The point.
    spatialReference
    (Optional) The spatial reference of the newly created multipoint. If it is null, then the spatial reference will be inherited from the input point.

    Return Value

    Exceptions
    ExceptionDescription
    point is null.
    Remarks
    The newly created multipoint inherits the HasZ, HasM, HasID attributes and the corresponding Z, M, ID values from the input point.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also