This document is archived and information here might be outdated.  Recommended version.


IEnumCurve.SegmentIndex Property (ArcObjects .NET 10.6 SDK)
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(
  System.Int32* 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