com.esri.arcgis.geodatabase
Interface IEnumNetworkElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
EnumNetworkElement, IEnumNetworkElementProxy

public interface IEnumNetworkElement
extends Serializable

Provides access to a container for accessing network dataset 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.

Product Availability

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


Method Summary
 INetworkElement next()
          Moves the enumerator forward and returns the network element pointed by the enumerator using query semantics.
 void reset()
          Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration.
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

INetworkElement next()
                     throws IOException,
                            AutomationException
Moves the enumerator forward and returns the network element pointed by the enumerator using query semantics.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.