IWorkspace.CleanUpProject method
Namespace: NextDesign.Desktop
Description
Clean up the specified project.
If no project is specified, cleans up the current project currently open in the application.
Project cleanup processing is performed only for editable units among the managed units of the specified project.
Note that calling this method will fail if the target project has not been saved.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project If null, cleans up the current project that the application is currently open. (does nothing if there is no current project) |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Illegal operation | ExtensionInvalidOperationException | If the target project has not been saved If the latest model file has not been loaded |