Provides access to members that modify an object class's extension properties.
When To Use
Use the IClassSchemaEdit2 interface when you want to modify the class extension properties of an object class that already has a class extension associated with it.
Members
Name | Description | |
---|---|---|
AlterAliasName | The alias name of the object class. | |
AlterClassExtensionCLSID | Changes the class extension COM class associated with this database class. | |
AlterClassExtensionProperties | Changes the class extension properties associated with this object 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. |
IClassSchemaEdit2.AlterClassExtensionProperties Method
Changes the class extension properties associated with this object class.
Public Sub AlterClassExtensionProperties ( _
ByVal classExtensionProperties As IPropertySet _
)
public void AlterClassExtensionProperties (
IPropertySet classExtensionProperties
);
Description
The AlterClassExtensionProperties method****is used to change the class extension properties for an object class in the Geodatabase that already has a class extension associated with it.
Remarks
AlterClassExtensionPropertiestakes as an argument the new properties for the class extension as an IPropertySet.
Inherited Interfaces
Interfaces | Description |
---|---|
IClassSchemaEdit | Provides access to member to modify an object class schema. |
Classes that implement IClassSchemaEdit2
Classes | Description |
---|---|
FeatureClass | Esri Feature Class object. |
ObjectClass | Esri Object Class object. |
RasterCatalog | A collection of raster datasets in a Geodatabase table. |
Remarks
When using the IClassSchemaEdit2object to alter an object class' class schema, you should first acquire an exclusive schema lock using the ISchemaLockinterface 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 IClassSchemaEdit2interface from the IObjectClassinterface.