This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureWorkspaceManage2 Interface > IFeatureWorkspaceManage2.GetObjectClassNameByID Method (ArcObjects .NET 10.4 SDK) |
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,
BSTR* qname
);
[C++]
Parameters ObjectClassID [in] ObjectClassID is a parameter of type long qname [out, retval] qname is a parameter of type BSTR
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.
IFeatureWorkspaceManage2 Interface | IFeatureWorkspace Interface | IObjectClass Interface | IFeatureClass Interface | ITable Interface