ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / ProximityResult Class / SegmentIndex Property
Version

SegmentIndex Property
Gets the segment index of the segment containing the nearest point. The segment index is relative to the part index. For example, if PartIndex = 2 and SegmentIndex = 0, it means segment 0 in part 2. Only relevant if calling GeometryEngine.NearestPoint, otherwise segment index is null.
Syntax
public Nullable<int> SegmentIndex {get;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also