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


IEnumNetworkElement.Next Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IEnumNetworkElement.Next Method

Moves the enumerator forward and returns the network element pointed by the enumerator using query semantics.

[Visual Basic .NET]
Public Function Next ( _
) As INetworkElement
[C#]
public INetworkElement Next (
);
[C++]
HRESULT Next(
  INetworkElement** Element
);
[C++]

Parameters Element [out, retval]
Element is a parameter of type INetworkElement

Product Availability

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

See Also

IEnumNetworkElement Interface

.NET Snippets

Display Network Adjacency in MessageBox