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

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

Parameters

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

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MultipointBuilder Class
MultipointBuilder Members
Overload List