Skip to main content

IWorkspace.OpenProject(string,OpenProjectOptions) method

Namespace: NextDesign.Desktop

Description

Opens a project with the specified options applied.

argument

NameTypeDescription
projectPathstringThe project path.

Cannot be null or an empty string.
options
OpenProjectOptionsOpen project options.

Specifies options for opening a project.

Return value

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null or an empty string is specified for projectPath
Invalid PathExtensionInvalidPathExceptionIf the specified path cannot be interpreted as a valid path string
Invalid file specificationExtensionInvalidFileExceptionIf the file extension of projectPath is not a project
If projectPath specifies a project path that is not supported by running NextDesign
File not foundExtensionFileFoundExceptionIf the file in projectPath is not found