|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IToolboxWorkspace
Provides access to methods on the toolbox workspace object.
A Workspace is a container of spatial and nonspatial datasets such as feature classes, raster datasets, tables and toolboxes. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the esriWorkspaceType enumerator: esriFileSystemWorksapce, esriLocalDatabaseWorkspace, and esriRemoteDatabaseWorkspace.
A toolbox workspace can be either an esriFileSystemWorkspace, an esriLocalDatabaseWorkspace, or an esriRemoteDatabaseWorkspace. Toolboxes can exist in a folder, a personal geodatabase, a file geodatabase, or an enterprise geodatabase.
See also IWorkspace.
Method Summary | |
---|---|
IGPToolbox |
createToolbox(String name,
String alias)
Creates a new toolbox in the workspace. |
void |
deleteToolbox(String name)
Deletes a toolbox from the workspace. |
IEnumGPToolbox |
getToolboxes()
An enumeration of toolbox objects contained in the workspace. |
IEnumGPToolboxName |
getToolboxNames()
An enumeration of toolbox name objects contained in the workspace. |
IGPToolbox |
openToolbox(String name)
Opens an existing toolbox in the workspace. |
Method Detail |
---|
IEnumGPToolboxName getToolboxNames() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumGPToolbox getToolboxes() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPToolbox openToolbox(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPToolbox createToolbox(String name, String alias) throws IOException, AutomationException
name
- The name (in)alias
- The alias (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteToolbox(String name) throws IOException, AutomationException
name
- The name (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 |