Mike1DControllerLoad Method (IConnection) |
Creates a
Mike1DController and loads the setup.
The setup is loaded with all default parameters.
In case of errors when loading the setup, a Mike1DException
is thrown. Errors can be examined by extracting the IDiagnostics
object stored in Data using string key "Diagnostics".
Namespace:
DHI.Mike1D.Mike1DDataAccess
Assembly:
DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static Mike1DController Load(
IConnection connection
)
Public Shared Function Load (
connection As IConnection
) As Mike1DController
public:
static Mike1DController^ Load(
IConnection^ connection
)
Parameters
- connection
- Type: DHI.Mike1D.GenericIConnection
Connection of file to load
Return Value
Type:
Mike1DControllerA new controller, with populated
Mike1DDataSee Also