Retreives the ModelParameter based on eModelParam value.
Namespace: WaterSimDCDCAssembly: WaterSimDCDC_API (in WaterSimDCDC_API.dll) Version: 5.0.0.10 (5.0.0.10)
Syntax
| C# |
|---|
public ModelParameterClass Model_Parameter( eModelParam p ) |
| Visual Basic |
|---|
Public Function Model_Parameter ( _ p As eModelParam _ ) As ModelParameterClass |
Parameters
- p
- Type: WaterSimDCDC..::..eModelParam
The eModelParam value.
Return Value
a ModelParameterClass based on unique p value.
Remarks
This is the primary way to access specific ModelParameters. Each ModelParameter has a unique eModelParam value that can be used to identify and access each ModelParameter.
Exceptions
| Exception | Condition |
|---|---|
| WaterSimDCDC..::..WaterSim_Exception | Thrown when invlaid eModelParam is used for p. |