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


INetSchema.ElementClassByUserID Property (ArcObjects .NET 10.4 SDK)
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