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

ArcGIS.Core.Geometry Namespace > MultipointBuilder Class > Insert Method : Insert(Int32,Coordinate2D) 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,
   Coordinate2D coordinate
)
Public Overloads Sub Insert( _
   ByVal beforePointIndex As Integer, _
   ByVal coordinate As Coordinate2D _
) 

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