ArcGIS Pro 2.8 API Reference Guide
SegmentCount Method

ArcGIS.Core.Geometry Namespace > MultipartBuilderEx Class : SegmentCount Method
The index of the part. Must be less than PartCount. To get the segment count of the last part, specify -1 or PartCount - 1.
Gets the number of segments in the specified part.
Syntax
public int SegmentCount( 
   int partIndex
)
Public Function SegmentCount( _
   ByVal partIndex As Integer _
) As Integer

Parameters

partIndex
The index of the part. Must be less than PartCount. To get the segment count of the last part, specify -1 or PartCount - 1.
Exceptions
ExceptionDescription
The part index is greater than PartCount - 1 or PartCount == 0 and part index is greater than 0.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipartBuilderEx Class
MultipartBuilderEx Members