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


IEnumCurve.SegmentIndex Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumCurve Interface > IEnumCurve.SegmentIndex Property
ArcGIS Developer Help

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