Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Helpers Namespaces
CMS.Helpers
ValidationHelper Class
ValidationHelper Methods
IsInRange Method
IsInRange Method (Decimal, Decimal, Decimal)
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: 11.0.0
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) 2017 Kentico Software
Send comments on this topic to
support@kentico.com