Range Check for Base Input Parameters

Namespace: WaterSimDCDC
Assembly: 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 exception

Remarks

Does throw exception on failed range check

Exceptions

ExceptionCondition
WaterSimDCDC..::..WaterSim_Exception if range check fails

See Also