ArcObjects Library Reference (GeoDatabase)  

INetSchema.ElementClassByUserID Property

Element class corresponding to the specified user class ID.

[Visual Basic .NET]
Public Function get_ElementClassByUserID ( _
    ByVal elementclassUserID As Integer _
) As INetElementClass
[C#]
public INetElementClass get_ElementClassByUserID (
    int elementclassUserID
);
[C++]
HRESULT get_ElementClassByUserID(
  long elementclassUserID,
  INetElementClass** NetElementClass
);
[C++]

Parameters

elementclassUserID [in]   elementclassUserID is a parameter of type long NetElementClass [out, retval]

  NetElementClass is a parameter of type INetElementClass

Product Availability

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

Remarks

Each element class in the network has a unique ID which you can get the element class by.
 
If the UserID specified is not valid, then a Null pointer will be returned.

See Also

INetSchema Interface