Check range for all provider values for specified ModelParameter.
Namespace: WaterSimDCDCAssembly: WaterSimDCDC_API (in WaterSimDCDC_API.dll) Version: 5.0.0.10 (5.0.0.10)
Syntax
C# |
---|
public bool CheckProviderValuesRange( eModelParam eparam, ProviderIntArray values ) |
Visual Basic |
---|
Public Function CheckProviderValuesRange ( _ eparam As eModelParam, _ values As ProviderIntArray _ ) As Boolean |
Parameters
- eparam
- Type: WaterSimDCDC..::..eModelParam
ModelParameter eModelParam identifier.
- values
- Type: WaterSimDCDC..::..ProviderIntArray
The values to check.
Return Value
true if all pass range check, throws an exception if any one falis.Exceptions
Exception | Condition |
---|---|
WaterSimDCDC..::..WaterSim_Exception | if throwexception = true and range check fails |