Utility.LimitRange<T> Method
Public Shared Sub LimitRange(Of _
T As IComparable)( _
ByVal low As T, _
ByRef value As T, _
ByVal high As T _
)
This language is not supported or no code example is available.
Type Parameters
- T
The type of the value to clamp
Parameters
- low
- T
Lower limit
- value
- T
The value
- high
- T
Upper limit