IntegerValueCorrection Enumeration#
Syntax#
C#
VB
Members#
Member name | Value | Description | |
---|---|---|---|
None | 0 | No correction will be applied. If the value is not valid for the parameter, an exception will be thrown. | |
Up | 1 | Correct the value by rounding up to the nearest valid value. If the value is lower/higher than the minimum/maximum in the range of valid values, correct the value to the minimum/maximum. | |
Down | 2 | Correct the value by rounding down to the nearest valid value. If the value is lower/higher than the minimum/maximum in the range of valid values, correct the value to the minimum/maximum. | |
Nearest | 3 | Correct the value by rounding up or down to the nearest valid value. If the correction in each direction is equal, the value will be corrected by rounding up to the nearest valid value. If the value is lower/higher than the minimum/maximum in the range of valid values, correct the value to the minimum/maximum. |