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


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

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