Returns the next segment, and its location in the collection. If the location does not have parts (i.e. a path or ring) then the part index will always be zero.
[Visual Basic .NET] Public Sub Next ( _ ByRef outSegment As ISegment, _ ByRef outPartIndex As Integer, _ ByRef SegmentIndex As Integer _ )
[C#] public void Next ( ref ISegment outSegment, ref int outPartIndex, ref int SegmentIndex );
[C++]
HRESULT Next(
ISegment** outSegment,
long* outPartIndex,
long* SegmentIndex
);
[C++]Parameters
outSegment [out]outSegment is a parameter of type ISegment
outPartIndex [in, out] outPartIndex is a parameter of type long SegmentIndex [in, out] SegmentIndex is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The NextEx method advances the enumerator to the next position, returns the segment, the part index and the segment index.
Remarks
See picture for a graphical explanation of some of the IEnumSegment methods.