ArcGIS Pro 2.7 API Reference Guide
SegmentIndex Property

ArcGIS.Core.Geometry Namespace > ProximityResult Class : 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;}
Public ReadOnly Property SegmentIndex As Nullable(Of Integer)
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ProximityResult Class
ProximityResult Members