Skip to main content

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

NameTypeDescription
projectIProjectProject

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

NameException ClassDescription
Illegal operationExtensionInvalidOperationExceptionIf the target project has not been saved
If the latest model file has not been loaded