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
| Name | Type | Description |
|---|---|---|
| project | IProject | is a project. If null is specified, reloads the current project currently open in the application. |
| isSetReadOnly | bool | Specifies 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
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null is specified for project when the current project is not set |
| Invalid argument | ExtensionArgumentException | If the project to be reloaded is a newly created project |
| File not found | ExtensionFileFoundException | If the file corresponding to project is not found |