ArcObjects Library Reference (Geometry)  

IEnumCurve.SegmentIndex Property

The current segment index within the current part.

[Visual Basic .NET]
Public ReadOnly Property SegmentIndex As Integer
[C#]
public int SegmentIndex {get;}
[C++]
HRESULT get_SegmentIndex(
  long* SegmentIndex
);
[C++]

Parameters

SegmentIndex [out, retval]   SegmentIndex is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the index of the Segment referenced by the current location of the distance iterator.  The Segment Index is relative to the Part to which the segment belongs.

See Also

IEnumCurve Interface