This document is archived and information here might be outdated. Recommended version. |
Returns the next segment info structure in current part, goes back to first segment after last segment in part is encountered.
[Visual Basic .NET] Public Sub NextInPartEx ( _ ByRef outSegment As esriSegmentInfo _ )
[C#] public void NextInPartEx ( ref esriSegmentInfo outSegment );
[C++]
HRESULT NextInPartEx(
esriSegmentInfo* outSegment
);
[C++] Parameters outSegment [out]
outSegment is a parameter of type esriSegmentInfo*
The NextInPartEx method is returning the next segment in the current part along with more information about the segment than the NextInPart method. As oppose to the Next method the NextInpartEx method limits its search to the part where the enumerator is currently located. For example, if the enumerator is located on the last segment of a given part then NextInPartEx will return the first segment of that part.