PexChoose.ValueFromRange(String, Int32, Int32) 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.
Gets an integer from a specified range.
public:
static int ValueFromRange(System::String ^ name, int minInclusive, int maxExclusive);
public static int ValueFromRange (string name, int minInclusive, int maxExclusive);
static member ValueFromRange : string * int * int -> int
Public Shared Function ValueFromRange (name As String, minInclusive As Integer, maxExclusive As Integer) As Integer
Parameters
- name
- String
The value's name
- minInclusive
- Int32
The range's lower bound, which is inclusive.
- maxExclusive
- Int32
The range's upper bound, which is exclusive.
Returns
Returns an integer from the specified range.