ArcGIS Enterprise SDK
IObjectClassName.ObjectClassID Property
ArcGIS Developer Help

IObjectClassName.ObjectClassID Property

The object class ID.

[Visual Basic .NET]
Public ReadOnly Property ObjectClassID As Integer
public int ObjectClassID {get;}


Each feature class or table registered with the geodatabase is an object class. Object classes have a unique ID which distinguishes them from other object classes in the geodatabase. The ObjectClassID property returns this ID as an integer. The object class ID is assigned by the system when the class is created, or registered with the geodatabase, it cannot be modified.

Tables that are in the database, but not registered with the geodatabase, will have an object class ID of -1.

See Also

IObjectClassName Interface