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


IFeatureWorkspaceManage.IsRegisteredAsObjectClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureWorkspaceManage Interface > IFeatureWorkspaceManage.IsRegisteredAsObjectClass Method
ArcGIS Developer Help

IFeatureWorkspaceManage.IsRegisteredAsObjectClass Method

Checks if an object is registered as an object class.

[Visual Basic .NET]
Public Function IsRegisteredAsObjectClass ( _
    ByVal Name As String _
) As Boolean
[C#]
public bool IsRegisteredAsObjectClass (
    string Name
);
[C++]
HRESULT IsRegisteredAsObjectClass(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

Remarks

IsRegisteredAsObjectClass indicates if an object in the database is referenced in the Geodatabase system tables. A table created using SQL, or an SDE layer created using the ArcSDE administration commands, or other ArcSDE client software are examples of objects that are not registered with the Geodatabase. These tables will have an ObjectClassID of -1.

You can use the RegisterAsObjectClass method on IClassSchemaEdit to register an object with the Geodatabase.

See Also

IFeatureWorkspaceManage Interface