Expression 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造一个新实例 Expression。
重载
| 名称 | 说明 |
|---|---|
| Expression() |
构造一个新实例 Expression。 |
| Expression(ExpressionType, Type) |
已过时.
初始化 Expression 类的新实例。 |
Expression()
Expression(ExpressionType, Type)
注意
use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.
初始化 Expression 类的新实例。
protected:
Expression(System::Linq::Expressions::ExpressionType nodeType, Type ^ type);
protected Expression(System.Linq.Expressions.ExpressionType nodeType, Type type);
[System.Obsolete("use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.")]
protected Expression(System.Linq.Expressions.ExpressionType nodeType, Type type);
new System.Linq.Expressions.Expression : System.Linq.Expressions.ExpressionType * Type -> System.Linq.Expressions.Expression
[<System.Obsolete("use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.")>]
new System.Linq.Expressions.Expression : System.Linq.Expressions.ExpressionType * Type -> System.Linq.Expressions.Expression
Protected Sub New (nodeType As ExpressionType, type As Type)
参数
- nodeType
- ExpressionType
要 ExpressionType 设置为节点类型。
- type
- Type
这一点TypeExpression。
- 属性
注解
从派生类中的构造函数调用此构造函数。