ArcGIS Pro 2.7 API Reference Guide
CreateMultipoint(Polyline,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > MultipointBuilder Class > CreateMultipoint Method : CreateMultipoint(Polyline,SpatialReference) Method
Polyline whose points will comprise the multipoint.
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from polyline.
Convenience method to quickly create a Multipoint instance.
Syntax
public static Multipoint CreateMultipoint( 
   Polyline polyline,
   SpatialReference spatialReference
)
Public Overloads Shared Function CreateMultipoint( _
   ByVal polyline As Polyline, _
   Optional ByVal spatialReference As SpatialReference _
) As Multipoint

Parameters

polyline
Polyline whose points will comprise the multipoint.
spatialReference
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from polyline.

Return Value

Exceptions
ExceptionDescription
polyline is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipointBuilder Class
MultipointBuilder Members
Overload List