ArcObjects Library Reference (GeoDatabase)  

INetElements.QueryIDs Method

Returns the user class ID, user ID, and user sub ID for the specified network element.

[Visual Basic .NET]
Public Sub QueryIDs ( _
    ByVal EID As Integer, _
    ByVal ElementType As esriElementType, _
    ByRef UserClassID As Integer, _
    ByRef UserID As Integer, _
    ByRef UserSubID As Integer _
public void QueryIDs (
    int EID,
    esriElementType ElementType,
    ref int UserClassID,
    ref int UserID,
    ref int UserSubID
  long EID,
  esriElementType ElementType,
  long* UserClassID,
  long* UserID,
  long* UserSubID


EID [in]   EID is a parameter of type long ElementType [in]

  ElementType is a parameter of type esriElementType

UserClassID [out]   UserClassID is a parameter of type long UserID [out]   UserID is a parameter of type long UserSubID [out]   UserSubID is a parameter of type long

Product Availability

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


Pass an a valid Element ID (EID) and its esriElementType and the IDs of the corresponding feature in the geometric network are returned.
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

INetElements Interface