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


IEnumSegment.NextEx Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IEnumSegment.NextEx Method

Populates a segment info structure with information on the next segment in the collection.

[Visual Basic .NET]
Public Sub NextEx ( _
    ByRef outSegment As esriSegmentInfo _
)
[C#]
public void NextEx (
    ref esriSegmentInfo outSegment
);
[C++]
HRESULT NextEx(
  _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 NextEx method advances the enumerator to the next position and returns the segment and the associated information using an esriSegmentInfo structure.

See Also

IEnumSegment Interface

.NET Related Topics

How to use the IEnumSegment methods