ArcGIS Pro 2.8 API Reference Guide
RemovePart Method (MultipartBuilderEx)

ArcGIS.Core.Geometry Namespace > MultipartBuilderEx Class : RemovePart Method
The index of the part to remove. Must be less than PartCount. Specify -1 or (PartCount - 1) to remove the last part.
Remove the part specified by partIndex.
Syntax
public void RemovePart( 
   int partIndex
)
Public Sub RemovePart( _
   ByVal partIndex As Integer _
) 

Parameters

partIndex
The index of the part to remove. Must be less than PartCount. Specify -1 or (PartCount - 1) to remove the last part.
Exceptions
ExceptionDescription
partIndex is greater than PartCount - 1.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipartBuilderEx Class
MultipartBuilderEx Members