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


IEnumNetworkElement Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IEnumNetworkElement Interface

Provides access to a container for accessing network dataset network elements.

Product Availability

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

Members

Description
Method Next Moves the enumerator forward and returns the network element pointed by the enumerator using query semantics.
Method Reset Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration.

CoClasses that implement IEnumNetworkElement

CoClasses and Classes Description
EnumNetworkElement A container for network elements.

Remarks

The IEnumNetworkElement interface enumerates, one by one, through the network element objects in the EnumNetworkElement by repeatedly calling the Next method.  Use the Reset method to set the enumerator object to the beginning of the enumeration.

.NET Snippets

Display Network Adjacency in MessageBox

.NET Samples

Subset network evaluators (Code Files: SubsetHelperUI)