IWorkspace.OpenProject(string,OpenProjectOptions) method
Namespace: NextDesign.Desktop
Description
Opens a project with the specified options applied.
argument
| Name | Type | Description |
|---|---|---|
| projectPath | string | The project path. Cannot be null or an empty string. |
| options | OpenProjectOptions | Open project options. Specifies options for opening a project. |
Return value
Exceptions
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null or an empty string is specified for projectPath |
| Invalid Path | ExtensionInvalidPathException | If the specified path cannot be interpreted as a valid path string |
| Invalid file specification | ExtensionInvalidFileException | If the file extension of projectPath is not a project If projectPath specifies a project path that is not supported by running NextDesign |
| File not found | ExtensionFileFoundException | If the file in projectPath is not found |