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


ObjectClass CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > O > ObjectClass CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ObjectClass CoClass

Esri Object Class object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IClass Provides access to members that return information about and manage the class.
IClassSchemaEdit Provides access to member to modify an object class schema.
IClassSchemaEdit2 Provides access to members that modify an object class's extension properties.
IClassSchemaEdit3 Provides access to members that modify an object class's extension properties.
IClassSchemaEdit4 Provides access to members that modify an object class's Editor Tracking properties.
IClassSchemaEditEx Provides access to members that modify an object class schema.
IDataset Provides access to members that supply dataset information.
IDatasetAnalyze Provides access to members that analyze a dataset.
IDatasetEdit Provides access to information about the status of datasets being edited.
IDatasetEditInfo Provides access to members that maintain dataset editing information.
IModelInfo Provides access to the model name of the field.
IObjectClass Provides access to members that return information about an object class.
IObjectClassInfo Provides access to method that indicates whether an object can bypass the store method.
IObjectClassInfo2 Provides access to method that indicates whether an object can be modified outside of an edit session.
ISchemaLock Provides access to members for accessing schema locking functionality.
ISubtypes Provides access to members that return and modify subtype information.
ITable Provides access to members that return information about and manage tables.
ITableCapabilities Provides access to members that return information about and manage tables.
IValidation Provides access to members that manage rules and validate them.
IValidation2 Provides access to members that manage rules and validate them.

Remarks

An object class is a table whose rows represent entities, modeled as objects with properties and behavior. The row objects handed out by an object class support the IRow and the IObject interfaces.

An object class may participate in any number of relationship classes that relate its instances to objects (entities) in other object classes.

An object class may contain a discriminating field, referred to as the subtype field that may be used to partition its instances into a number of subtypes. All subtypes share the same field definition and are stored in the same table, however individual subtypes may differ in the default values and domains assigned to fields. The subtyping mechanism can also be used in defining attribute and connectivity rules that apply to the instances of the object class. The subtyping mechanism is a lightweight alternative to creating multiple subclasses each represented by its own object class.

An object class has a non-negative object class ID which is unique within the geodatabase. This ID is assigned to the object class at the time that it is created or at the time that an existing table in the RDBMS is registered with the geodatabase as an object class. The Name of the object class is the same as the name of the table in the DBMS in which the objects in the object class are stored and follows the same fully qualified naming conventions.

An object class may have an AliasName property that is stored as part of its definition by the geodatabase. The AliasName may be retrieved and used for display purposes by applications.

An object class may have a ModelName property that is stored as part of its definition by the geodatabase. The model name is not exposed to end users and if defined, can be used as a search key to find an object class by a standard model name that is adhered to across databases. A model name must be unique across the workspace.

See Also

IObjectClass Interface | ObjectClass Class | IClass Interface | ITable Interface | IRelQueryTableManage Interface | RelQueryTableName Class | Table Class | IRelQueryTableName Interface | RelQueryTableFactory Class | RelQueryTable Class | RelQueryRow Class | RelQueryCursor Class | IRelQueryTable Interface | IRelQueryTableFactory Interface | IRelQueryTableInfo Interface | ISpatialJoin.JoinTable Property | ISpatialJoin.SourceTable Property | ICalculator.Field Property | ICalculator Interface | IRowSubtypes Interface

.NET Samples

Change layer rendering using the SymbologyControl (Code Files: LayerRendering)

.NET Related Topics

Using the TOCControl