Expression.RuntimeVariables 方法

定義

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

多載

RuntimeVariables(ParameterExpression[])

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

RuntimeVariables(IEnumerable<ParameterExpression>)

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

RuntimeVariables(ParameterExpression[])

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

public:
 static System::Linq::Expressions::RuntimeVariablesExpression ^ RuntimeVariables(... cli::array <System::Linq::Expressions::ParameterExpression ^> ^ variables);
public static System.Linq.Expressions.RuntimeVariablesExpression RuntimeVariables (params System.Linq.Expressions.ParameterExpression[] variables);
static member RuntimeVariables : System.Linq.Expressions.ParameterExpression[] -> System.Linq.Expressions.RuntimeVariablesExpression
Public Shared Function RuntimeVariables (ParamArray variables As ParameterExpression()) As RuntimeVariablesExpression

參數

variables
ParameterExpression[]

用以填入 ParameterExpression 集合之 Variables 物件的陣列。An array of ParameterExpression objects to use to populate the Variables collection.

傳回

RuntimeVariablesExpression

RuntimeVariablesExpression 的執行個體,其 NodeType 屬性等於 RuntimeVariables,而 Variables 屬性設定為指定的值。An instance of RuntimeVariablesExpression that has the NodeType property equal to RuntimeVariables and the Variables property set to the specified value.

適用於

RuntimeVariables(IEnumerable<ParameterExpression>)

建立 RuntimeVariablesExpression 的執行個體。Creates an instance of RuntimeVariablesExpression.

public:
 static System::Linq::Expressions::RuntimeVariablesExpression ^ RuntimeVariables(System::Collections::Generic::IEnumerable<System::Linq::Expressions::ParameterExpression ^> ^ variables);
public static System.Linq.Expressions.RuntimeVariablesExpression RuntimeVariables (System.Collections.Generic.IEnumerable<System.Linq.Expressions.ParameterExpression> variables);
static member RuntimeVariables : seq<System.Linq.Expressions.ParameterExpression> -> System.Linq.Expressions.RuntimeVariablesExpression
Public Shared Function RuntimeVariables (variables As IEnumerable(Of ParameterExpression)) As RuntimeVariablesExpression

參數

variables
IEnumerable<ParameterExpression>

ParameterExpression 物件的集合,用來填入 Variables 集合。A collection of ParameterExpression objects to use to populate the Variables collection.

傳回

RuntimeVariablesExpression

RuntimeVariablesExpression 的執行個體,其 NodeType 屬性等於 RuntimeVariables,而 Variables 屬性設定為指定的值。An instance of RuntimeVariablesExpression that has the NodeType property equal to RuntimeVariables and the Variables property set to the specified value.

適用於