Expression.RuntimeVariables Method

Definition

Creates an instance of RuntimeVariablesExpression.

Overloads

RuntimeVariables(ParameterExpression[])

Creates an instance of RuntimeVariablesExpression.

RuntimeVariables(IEnumerable<ParameterExpression>)

Creates an instance of RuntimeVariablesExpression.

RuntimeVariables(ParameterExpression[])

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

Parameters

variables
ParameterExpression[]

An array of ParameterExpression objects to use to populate the Variables collection.

Returns

An instance of RuntimeVariablesExpression that has the NodeType property equal to RuntimeVariables and the Variables property set to the specified value.

RuntimeVariables(IEnumerable<ParameterExpression>)

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

Parameters

variables
IEnumerable<ParameterExpression>

A collection of ParameterExpression objects to use to populate the Variables collection.

Returns

An instance of RuntimeVariablesExpression that has the NodeType property equal to RuntimeVariables and the Variables property set to the specified value.

Applies to