Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Verifies that the value of the BaseNumberField, as it appears in the UI, is between two specified values, inclusive.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Sub ValidateNumber ( _
minValue As Double, _
maxValue As Double _
)
'Usage
Dim minValue As Double
Dim maxValue As Double
Me.ValidateNumber(minValue, maxValue)
protected void ValidateNumber(
double minValue,
double maxValue
)
Parameters
minValue
Type: System.DoubleThe minimum permissible value for the field.
maxValue
Type: System.DoubleThe maximum permissible value for the field.
Remarks
The field's value must be greater than or equal to minValue and less than or equal to maxValue.