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


IEnumLocatedNetworkElement.Next Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IEnumLocatedNetworkElement.Next Method

Retrieves the geometry, element type, and element id of the next network element in the enumeration sequence.

[Visual Basic .NET]
Public Function Next ( _
    ByRef elementGeometry As IGeometry, _
    ByRef ElementType As esriNetworkElementType _
) As Integer
[C#]
public int Next (
    ref IGeometry elementGeometry,
    ref esriNetworkElementType ElementType
);
[C++]
HRESULT Next(
  IGeometry** elementGeometry,
  esriNetworkElementType* ElementType
);
[C++]

Parameters elementGeometry [in, out]
elementGeometry is a parameter of type IGeometry** ElementType [in, out]
ElementType is a parameter of type esriNetworkElementType*

Product Availability

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

See Also

IEnumLocatedNetworkElement Interface