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


IEnumSegment.NextInPartEx Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumSegment Interface > IEnumSegment.NextInPartEx Method
ArcGIS Developer Help

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