ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / InsertPoints Method / InsertPoints(Int32,IEnumerable<Coordinate3D>) Method
The index specifying where the points will be inserted. A negative value means that the points XY-values will be added to the end of the corresponding list. Otherwise, the value must be in the range [0, Coordinate2Ds.Count] inclusive.
The coordinates to insert.

In This Topic
    InsertPoints(Int32,IEnumerable<Coordinate3D>) Method
    In This Topic
    Insert a range of points at the specified index.
    Syntax
    public void InsertPoints( 
       int index,
       IEnumerable<Coordinate3D> coordinate3Ds
    )
    Public Overloads Sub InsertPoints( _
       ByVal index As Integer, _
       ByVal coordinate3Ds As IEnumerable(Of Coordinate3D) _
    ) 

    Parameters

    index
    The index specifying where the points will be inserted. A negative value means that the points XY-values will be added to the end of the corresponding list. Otherwise, the value must be in the range [0, Coordinate2Ds.Count] inclusive.
    coordinate3Ds
    The coordinates to insert.
    Exceptions
    ExceptionDescription
    The input points enumeration is null.
    The point index is > Coordinate2Ds.Count.
    Remarks
    The XY-values of the coordinates are inserted into the Coordinate2Ds list. If the builder property HasZ is true, then the Z-value of the coordinates are inserted into the Zs list.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also