ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / InsertPoint Method / InsertPoint(Int32,Coordinate2D) Method
The index specifying where the point will be inserted. A negative value means that the coordinate will be added to the end of the Coordinate2Ds list. Otherwise, the value must be in the range [0, Coordinate2Ds.Count] inclusive.
The Coordinate2D to insert into the Coordinate2Ds list.
Version

InsertPoint(Int32,Coordinate2D) Method
Insert a Coordinate2D at the specified index to the list of points.
Syntax
public void InsertPoint( 
   int index,
   Coordinate2D coordinate2D
)

Parameters

index
The index specifying where the point will be inserted. A negative value means that the coordinate will be added to the end of the Coordinate2Ds list. Otherwise, the value must be in the range [0, Coordinate2Ds.Count] inclusive.
coordinate2D
The Coordinate2D to insert into the Coordinate2Ds list.
Exceptions
ExceptionDescription
The point index is > Coordinate2Ds.Count.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also