IWorkspaceState.SetCurrentModel method
Namespace: NextDesign.Desktop
Description
Sets the current model of the current workspace.
argument
| Name | Type | Description |
|---|---|---|
| model | IModel | Model |
Return value
- void
Exception
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | When null is specified for model |
| Invalid model specified | ExtensionInvalidModelException | When a deleted model is specified in model |