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


INetElements Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetElements Interface
ArcGIS Developer Help

INetElements Interface

Provides access to members that convert between user IDs and network element IDs (EIDs).

Product Availability

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

When To Use

Use the INetElements interface to convert between Element IDs (EIDs) and user-friendly IDs of individual elements in your network, or to check the validity of an EID.

Members

Name Description
Method GetEID Returns the network element ID (EID).
Method GetEIDCount Returns the number of network element IDs (EIDs) corresponding to the specified user class ID and user ID.
Method GetEIDs Returns the network element IDs (EIDs) corresponding to the specified user classID and user ID.
Method IsValidElement Returns whether the specified element is part of the network.
Method QueryIDs Returns the user class ID, user ID, and user sub ID for the specified network element.

Classes that implement INetElements

Classes Description
StreetNetwork A container for describing a street network.
UtilityNetwork A container for describing a utility network.

Remarks

Each element in a logical network has a unique Element ID (EID). The EID can be accessed by providing the following three IDs: UserClassID, UserID, and UserSubID.  If the network is part of a geometric network, the UserClassID and UserID correspond to the FeatureClassID and OID of the feature. The UserSubID is the ID of the subelement of the feature.

See Also

INetElementDescription Interface | INetElements Interface | INetElementDescriptionEdit Interface | INetElementClass Interface