ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipartBuilderEx Class / InsertPart Method / InsertPart(Int32,IEnumerable<MapPoint>) Method
The index before which the part will be inserted. Must be less than or equal to PartCount. Specify -1 or (PartCount) to to insert the part at the end of the Parts list.
An enumeration of points.
Version

InsertPart(Int32,IEnumerable<MapPoint>) Method
Inserts a part constructed from the enumeration of points. The part will be inserted into the Parts list.
Syntax
public void InsertPart( 
   int beforePartIndex,
   IEnumerable<MapPoint> points
)

Parameters

beforePartIndex
The index before which the part will be inserted. Must be less than or equal to PartCount. Specify -1 or (PartCount) to to insert the part at the end of the Parts list.
points
An enumeration of points.
Exceptions
Remarks
Line segments are constructed from the points.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also