Skip to main content

IWorkspace.SaveAll method

Namespace: NextDesign.Desktop

Description

Re-save the file based on the latest state.
If no project is specified, save the current project.

Throws an exception if the file has not been created for the specified project.
Units that are not loaded and read-only are not saved.

argument

NameTypeDescription
projectIProjectProject

If null is specified, update the path of the referenced model for 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 file has not been created
If the latest model file has not been loaded
UnsupportedExtensionNotSupportedExceptionIf the current edition of the application does not support it