Skip to main content

IWorkspace.ReloadProject method

Namespace: NextDesign.Desktop

Description​

Reload the specified project.
If no project is specified, the current project currently open in the application will be reloaded.

argument​

NameTypeDescription
projectIProjectis a project.

If null is specified, reloads the current project currently open in the application.
isSetReadOnlyboolSpecifies whether to reload the project as read-only.

If True is specified, the opened project cannot be edited.
The default is False.

Return value​

Exceptions​

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for project when the current project is not set
Invalid argumentExtensionArgumentExceptionIf the project to be reloaded is a newly created project
File not foundExtensionFileFoundExceptionIf the file corresponding to project is not found