ArcGIS Pro 2.6 API Reference Guide
Insert(Int32,Coordinate3D) Method

ArcGIS.Core.Geometry Namespace > MultipointBuilder Class > Insert Method : Insert(Int32,Coordinate3D) Method
0 based index. Specify 0 to insert a point at the beginning. Specifying -1 is equivalent to Add.
The coordinate to insert.
Inserts a coordinate to the point collection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Insert( 
   int beforePointIndex,
   Coordinate3D coordinate
)
Public Overloads Sub Insert( _
   ByVal beforePointIndex As Integer, _
   ByVal coordinate As Coordinate3D _
) 

Parameters

beforePointIndex
0 based index. Specify 0 to insert a point at the beginning. Specifying -1 is equivalent to Add.
coordinate
The coordinate to insert.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MultipointBuilder Class
MultipointBuilder Members
Overload List