Argument.AssertInRange<T>(T, T, T, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static void AssertInRange<T>(T value, T minimum, T maximum, string name) where T : IComparable<T>;
static member AssertInRange : 'T * 'T * 'T * string -> unit (requires 'T :> IComparable<'T>)
Public Shared Sub AssertInRange(Of T As IComparable(Of T)) (value As T, minimum As T, maximum As T, name As String)
Type Parameters
- T
Parameters
- value
- T
- minimum
- T
- maximum
- T
- name
- String