PexChoose.IndexValue<T>(String, T[]) 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 index value from a specified array.
public:
generic <typename T>
static int IndexValue(System::String ^ name, cli::array <T> ^ values);
public static int IndexValue<T> (string name, T[] values);
static member IndexValue : string * 'T[] -> int
Public Shared Function IndexValue(Of T) (name As String, values As T()) As Integer
Type Parameters
- T
The array type.
Parameters
- name
- String
The value's name.
- values
- T[]
An array of type T.
Returns
Returns an index value from the array.