Skip to main content

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

NameTypeDescription
projectIProjectProject

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

NameException ClassDescription
Illegal operationExtensionInvalidOperationExceptionWhen the target project is not saved
When the latest model file is not loaded