Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.Helpers
ValidationHelper Class
ValidationHelper Methods
IsInRange Method
IsInRange Method (Double, Double, Double)
IsInRange Method (Int32, Int32, Int32)
ValidationHelper
IsInRange Method (Int32, Int32, Int32)
Returns true if value is higher than or equal to minimum and lesser than or equal to maximum.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
Copy
public
static
bool
IsInRange
(
int
min
,
int
max
,
int
value
)
Parameters
min
Type:
System
Int32
Minimum value
max
Type:
System
Int32
Maximum value
value
Type:
System
Int32
Value to check
Return Value
Type:
Boolean
See Also
Reference
ValidationHelper Class
IsInRange Overload
CMS.Helpers Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com