This document is archived and information here might be outdated. Recommended version. |
Provides access to member to modify an object class schema. Note: the IClassSchemaEdit interface has been superseded by IClassSchemaEdit3. Please consider using the more recent version.
Use the IClassSchemaEdit interface when you want to modify the class properties of an object class, such as the class extension, model name, etc. You can also use this interface to register a table or feature class with the Geodatabase to make it a true object class.
Name | Description | |
---|---|---|
AlterAliasName | The alias name of the object class. | |
AlterClassExtensionCLSID | Changes the class extension COM class associated with this database class. | |
AlterDefaultValue | The default value of the object class field. | |
AlterDomain | The default domain of the object class field. | |
AlterFieldAliasName | The alias name of the object class field. | |
AlterFieldModelName | The model name of the object class field. | |
AlterInstanceCLSID | Changes the instance COM class associated with this database class. | |
AlterModelName | The model name of the object class. | |
RegisterAsObjectClass | Registers this class with the database, assigning it a class id and creating an object id column. |
Classes | Description |
---|---|
FeatureClass | Esri Feature Class object. |
ObjectClass | Esri Object Class object. |
RasterCatalog | A collection of raster datasets in a Geodatabase table. |
SchematicDiagramClass (esriSchematic) | Schematic diagram class object. |
SchematicElementClass (esriSchematic) | Schematic element class object. |
When using the IClassSchemaEdit object to alter an object class' class schema, you should first acquire an exclusive schema lock using the ISchemaLock interface to be sure that another application or user does not have the class open while you are trying to modify its schema.
You can QI for the IClassSchemaEdit interface from the IObjectClass interface.
IObjectClass Interface | IModelInfo Interface | IObjectClassExtension Interface