ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / InsertPoint Method / InsertPoint(Int32,Coordinate3D) 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 Coordinate3D to insert.

In This Topic
    InsertPoint(Int32,Coordinate3D) Method
    In This Topic
    Insert a Coordinate3D at the specified index to the list of points.
    Syntax
    public void InsertPoint( 
       int index,
       Coordinate3D coordinate3D
    )
    Public Overloads Sub InsertPoint( _
       ByVal index As Integer, _
       ByVal coordinate3D As Coordinate3D _
    ) 

    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.
    coordinate3D
    The Coordinate3D to insert.
    Exceptions
    ExceptionDescription
    The point index is > Coordinate2Ds.Count.
    Remarks
    The XY-values of the coordinate are inserted into the Coordinate2Ds list. If the builder property HasZ is true, then the Z-value of the coordinate is inserted into the Zs list.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also