MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel.Validation Namespace / ValidationUtils Class / ValidateInteger Method / ValidateInteger(Int32,Int32,Int32) Method
An System.Int32 value to validate.
An System.Int32 value representing the minimum integer allowed.
An System.Int32 value representing the maximum integer allowed.

ValidateInteger(Int32,Int32,Int32) Method
Validates an integer value to make sure it is valid and is within the specified min/max range limit.
Syntax
'Declaration
 
Public Overloads Shared Function ValidateInteger( _
   ByVal value As Integer, _
   ByVal min As Integer, _
   ByVal max As Integer _
) As Integer
 

Parameters

value
An System.Int32 value to validate.
min
An System.Int32 value representing the minimum integer allowed.
max
An System.Int32 value representing the maximum integer allowed.
Exceptions
ExceptionDescription
Throws if the value is out of range limit.
See Also