ArcGIS Pro 2.8 API Reference Guide
InsertPoints Method (MultipointBuilderEx)

ArcGIS.Core.Geometry Namespace > MultipointBuilderEx Class : InsertPoints Method
The index specifying where the points will be inserted. A negative value means that the points coordinates will be added to the end of the corresponding list. Otherwise, the value must be in the range [0, Coords.Count] inclusive.
The points to insert.
Inserts a range of points at the specified index.
Syntax
public void InsertPoints( 
   int index,
   IEnumerable<MapPoint> points
)
Public Sub InsertPoints( _
   ByVal index As Integer, _
   ByVal points As IEnumerable(Of MapPoint) _
) 

Parameters

index
The index specifying where the points will be inserted. A negative value means that the points coordinates will be added to the end of the corresponding list. Otherwise, the value must be in the range [0, Coords.Count] inclusive.
points
The points to insert.
Exceptions
ExceptionDescription
The input points enumeration is null.
The point index is > Coords.Count.
Remarks
The XY-coordinates of the points are inserted into the Coords list. If the point property HasZ is true, and this builder property HasZ is true, then the Z-value of the point is inserted into the Zs list. The same is true for Ms and IDs. If the point is missing any of the attributes (Z, M, or ID) that are present in this builder, a default value is used. The default value for Z is zero, M is NaN, and ID is zero. If a point has an attribute that is missing in the builder, the attribute is ignored.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipointBuilderEx Class
MultipointBuilderEx Members