Compartir a través de


PexChoose.ValueFrom<T>(String, T[]) Method

Definition

Gets a value from an argument list.

public:
generic <typename T>
 static T ValueFrom(System::String ^ name, ... cli::array <T> ^ values);
public static T ValueFrom<T> (string name, params T[] values);
static member ValueFrom : string * 'T[] -> 'T
Public Shared Function ValueFrom(Of T) (name As String, ParamArray values As T()) As T

Type Parameters

T

The value's type.

Parameters

name
String

The value's name.

values
T[]

One or more arguments of type T.

Returns

T

Returns a value from the argument list.

Applies to