IWorkspace.CleanUpProject method
Namespace: NextDesign.Desktop
Description
Cleans up the specified project. If no project is specified, clean up the current project currently open in the application.
The project cleanup process is performed only on the editable units of the managed units of the specified project. If the target project has not been saved, the call to this method will fail.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project If null is specified, clean up the current project that is currently open in the application. (Nothing happens if there is no current project) |
Return value
- void
Exception
Name | Exception Class | Description |
---|---|---|
Illegal operation | ExtensionInvalidOperationException | When the target project is not saved When the latest model file is not loaded |