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


IObjectClassContainer.ObjectClassByName Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IObjectClassContainer.ObjectClassByName Property

The object class with the specified name.

[Visual Basic .NET]
Public Function get_ObjectClassByName ( _
    ByVal Name As String _
) As IObjectClass
[C#]
public IObjectClass get_ObjectClassByName (
    string Name
);
[C++]
HRESULT get_ObjectClassByName(
  BSTR Name,
  IObjectClass** ObjectClass
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR ObjectClass [out, retval]
ObjectClass is a parameter of type IObjectClass

Product Availability

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

See Also

IObjectClassContainer Interface