This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClassContainer Interface > IFeatureClassContainer.ClassByID Property (ArcObjects .NET 10.5 SDK) |
The FeatureClass with the specified ID.
[Visual Basic .NET] Public Function get_ClassByID ( _ ByVal ID As Integer _ ) As IFeatureClass
[C#] public IFeatureClass get_ClassByID ( int ID );
[C++]
HRESULT get_ClassByID(
long ID,
IFeatureClass** FeatureClass
);
[C++]
Parameters ID [in] ID is a parameter of type long FeatureClass [out, retval]
FeatureClass is a parameter of type IFeatureClass
Each object class in a geodatabase has a unique ID accessible via the ObjectClassID method in the IObjectClass interface or the FeatureClassID method in the IFeatureClass interface. The ClassByID method finds a feature class in a feature dataset given its object class ID.