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

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

Parameters

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

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MultipointBuilder Class
MultipointBuilder Members
Overload List