IWorkspace.CloseProject Method
Namespace: NextDesign.Desktop
Description
Closes the specified project.
If no project is specified, it closes the currently open project in the application.
If the specified project is not the currently open project in the application, it closes the project, discarding changes without warning, even if the project is not saved.
Argument
| Name | Type | Description |
|---|---|---|
| project | IProject | Project If null is specified, it closes the currently open project in the application. (Nothing happens if there is no current project) |
Return value
- void
Annotation
When using this method to close an unsaved current project, a save confirmation prompt will be displayed.
If you want to force the project to close without this prompt, please use CloseCurrentProject.