ArcObjects Library Reference (GeoDatabase)  

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

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.

CoClasses that implement INetElements

CoClasses and 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

INetElementClass Interface | INetElementDescriptionEdit Interface | INetElementDescription Interface | INetElements Interface

.NET Related Topics

NetworkAnalysis