ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / CreateMultipoint Method / CreateMultipoint(Multipart,SpatialReference) Method
The multipart which supplies the points to the newly created multipoint.
(Optional) The spatial reference of the newly created multipoint. If it is null, then the spatial reference will be inherited from the input multipart.

CreateMultipoint(Multipart,SpatialReference) Method
Convenience method to create an instance of the Multipoint class.
Syntax
public static Multipoint CreateMultipoint( 
   Multipart multipart,
   SpatialReference spatialReference
)

Parameters

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

Return Value

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

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.8 or higher.
See Also