Expression.Variable Expression.Variable Expression.Variable Method

Definition

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

Overloads

Variable(Type, String) Variable(Type, String) Variable(Type, String)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

Variable(Type) Variable(Type) Variable(Type)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

Variable(Type, String) Variable(Type, String) Variable(Type, String)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

public:
 static System::Linq::Expressions::ParameterExpression ^ Variable(Type ^ type, System::String ^ name);
public static System.Linq.Expressions.ParameterExpression Variable (Type type, string name);
static member Variable : Type * string -> System.Linq.Expressions.ParameterExpression

Parameters

type
Type Type Type

The type of the parameter or variable.

name
String String String

The name of the parameter or variable. This name is used for debugging or printing purpose only.

Returns

Variable(Type) Variable(Type) Variable(Type)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

public:
 static System::Linq::Expressions::ParameterExpression ^ Variable(Type ^ type);
public static System.Linq.Expressions.ParameterExpression Variable (Type type);
static member Variable : Type -> System.Linq.Expressions.ParameterExpression

Parameters

type
Type Type Type

The type of the parameter or variable.

Returns

Applies to