com.esri.arcgis.geodatabase
Interface IClassSchemaEdit2

All Superinterfaces:
IClassSchemaEdit, Serializable
All Known Subinterfaces:
IClassSchemaEdit3
All Known Implementing Classes:
FeatureClass, IClassSchemaEdit2Proxy, IClassSchemaEdit3Proxy, ObjectClass, RasterCatalog, SchematicDiagramClass, SchematicElementClass

public interface IClassSchemaEdit2
extends IClassSchemaEdit, Serializable

Provides access to members that modify an object class's extension properties.

Superseded By

IClassSchemaEdit3

Remarks

When using the IClassSchemaEdit2 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 IClassSchemaEdit2 interface from the IObjectClass interface.

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.

Product Availability

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

See Also:
IPropertySet

Method Summary
 void alterClassExtensionProperties(IPropertySet classExtensionProperties)
          Changes the class extension properties associated with this object class.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IClassSchemaEdit
alterAliasName, alterClassExtensionCLSID, alterDefaultValue, alterDomain, alterFieldAliasName, alterFieldModelName, alterInstanceCLSID, alterModelName, registerAsObjectClass
 

Method Detail

alterClassExtensionProperties

void alterClassExtensionProperties(IPropertySet classExtensionProperties)
                                   throws IOException,
                                          AutomationException
Changes the class extension properties associated with this object class.

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

AlterClassExtensionProperties takes as an argument the new properties for the class extension as an IPropertySet.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
classExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IPropertySet