PartCount Property (Multipart)
Get the parts of a Polyline
int numParts = polyline.PartCount;
// get the parts as a readonly collection
ReadOnlyPartCollection parts = polyline.Parts;
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.