Range Check for Base Input Parameters
Namespace: WaterSimDCDCAssembly: WaterSimDCDC_API (in WaterSimDCDC_API.dll) Version: 5.0.0.10 (5.0.0.10)
Syntax
C# |
---|
public bool CheckBaseValueRange( eModelParam eparam, int value ) |
Visual Basic |
---|
Public Function CheckBaseValueRange ( _ eparam As eModelParam, _ value As Integer _ ) As Boolean |
Parameters
- eparam
- Type: WaterSimDCDC..::..eModelParam
ModelParameter eModelParam identifier
- value
- Type: System..::..Int32
value to be checked
Return Value
true if in range, otherwise throws exceptionRemarks
Does throw exception on failed range check
Exceptions
Exception | Condition |
---|---|
WaterSimDCDC..::..WaterSim_Exception | if range check fails |