IWorkspace.SetLoadMode Method
Namespace: NextDesign.Desktop
Description
Sets the load mode for the model unit.
Ignored if the specified unit is not managed by the specified project.
Arguments
| Name | Type | Description |
|---|---|---|
| project | IProject | Project |
| units | IEnumerable<IModelUnit> | Model unit |
| loadMode | string | Load mode - "Auto" : Automatic load - "Manual" : Manual load |
Return value
- void
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null is specified for project If null is specified for units If a string other than the default string is specified for loadMode |
| Not supported | ExtensionNotSupportedException | If the current edition of the application is not compatible |