ArcObjects Library Reference (Geometry)  

IEnumSegment.NextInPartEx Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

IEnumSegment Interface