|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatureWorkspaceSchemaEdit
Provides access to altering the instance CLSID and the class extension CLSID.
Casting to the IClassSchemaEdit interface on an instantiated object class allows an application to change the behavior associated with an object class by changing the GUIDs specifying the class instance and class extension. There are times where instantiation of an object class may fail, such as when one or more necessary class instances or class extensions referenced by the object class are not installed or available. In these cases the methods in IFeatureWorkspaceSchemaEdit can be used to alter the GUIDs specifying the class instance and class extensions for an object class, given only the name of the object class.
Use IFeatureWorkspaceSchemaEdit when you want to change the instance CLSID or extension CLSID for an object class, but are unable to open that object class.
Method Summary | |
---|---|
void |
alterClassExtensionCLSID(String name,
IUID classExtensionCLSID,
IPropertySet classExtensionProperties)
Changes the class extension COM class associated with this database class. |
void |
alterInstanceCLSID(String name,
IUID instanceCLSID)
Changes the instance COM class associated with this database class. |
Method Detail |
---|
void alterInstanceCLSID(String name, IUID instanceCLSID) throws IOException, AutomationException
name
- The name (in)instanceCLSID
- A reference to a com.esri.arcgis.system.IUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void alterClassExtensionCLSID(String name, IUID classExtensionCLSID, IPropertySet classExtensionProperties) throws IOException, AutomationException
name
- The name (in)classExtensionCLSID
- A reference to a com.esri.arcgis.system.IUID (in)classExtensionProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |