ArcGIS Pro 3.2 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.

In This Topic
    InsertPoint(Int32,Coordinate2D) Method
    In This Topic
    Insert a Coordinate2D at the specified index to the list of points.
    Syntax
    public void InsertPoint( 
       int index,
       Coordinate2D coordinate2D
    )
    Public Overloads Sub InsertPoint( _
       ByVal index As Integer, _
       ByVal coordinate2D As 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