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

    InsertPoint(Int32,Coordinate3D) Method
    Insert a Coordinate3D at the specified index to the list of points.
    Syntax
    public void InsertPoint( 
       int index,
       Coordinate3D 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