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) |
Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree. |
Variable(Type) |
Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree. |
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
The type of the parameter or variable.
- name
- String
The name of the parameter or variable. This name is used for debugging or printing purpose only.
Returns
A ParameterExpression node with the specified name and 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
The type of the parameter or variable.
Returns
A ParameterExpression node with the specified name and type