ArcObjects Library Reference (GeoDatabase)  

IEnumNetEID Interface

Provides access to members that iterate through an enumeration of network element IDs (EIDs).

Product Availability

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

Members

Description
Read-only property Count Number of network elements in this enumeration.
Read-only property ElementType Type of network elements in this enumeration.
Method Last Forces the enumerator pointing at the last element in the enumeration and returns the last element.
Read-only property Network Network from which these elements came.
Method Next Moves the enumerator forward and returns the network element pointed by the enumerator.
Method Prev Returns the network element pointed by the enumerator and moves the enumerator backward.
Method Reset Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration.

CoClasses that implement IEnumNetEID

CoClasses and Classes Description
EnumNetEIDArray A container for defining a network element ID (EID) enumeration.

Remarks

The IEnumNetEID interface is returned by various methods on the logical network. It contains a set of EIDs from a given network.  For example, calling the method INetwork::CreateNetBrowser returns a reference to the IEnumNetEID interface containing a set of EIDs based on the specified type of network element requested.  INetElements::GetEIDs also returns an enumerator of this type.

Many of the trace tasks on the TraceFlowSolver object return this enumerator as well.

.NET Samples

Custom upstream trace task (Code Files: CustomUpstreamTraceTaskVBNet) | Set flow by digitized direction (Code Files: SetFlowByDigitizedDirectionVBNet) |