This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumSegment Interface > IEnumSegment.NextInPartEx Method (ArcObjects .NET 10.5 SDK) |
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.