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


IFeatureWorkspaceManage2.GetObjectClassNameByID Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeatureWorkspaceManage2.GetObjectClassNameByID Method

Gets fully qualified feature class name by object class id.

[Visual Basic .NET]
Public Function GetObjectClassNameByID ( _
    ByVal ObjectClassID As Integer _
) As String
[C#]
public string GetObjectClassNameByID (
    int ObjectClassID
);
[C++]
HRESULT GetObjectClassNameByID(
  long ObjectClassID
);
[C++]

Parameters ObjectClassID [in]
ObjectClassID is a parameter of type long

Product Availability

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

Remarks

The GetObjectClassNameByID method can be used to get the fully qualified name of a feature class or table that is registered as an ObjectClass with the geodatabase based on its ObjectClass ID. This name can then be used in a method such as IFeatureWorkspace::OpenFeatureClass, or IFeatureWorkspace::OpenTable to open the feature class or table.

See Also

IFeatureWorkspaceManage2 Interface | IFeatureWorkspace Interface | IObjectClass Interface | IFeatureClass Interface | ITable Interface