Expression 构造函数

定义

构造 Expression 的新实例。

重载

Expression()

构造 Expression 的新实例。

Expression(ExpressionType, Type)
已过时.
已过时.

初始化 Expression 类的新实例。

Expression()

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

构造 Expression 的新实例。

protected:
 Expression();
protected Expression ();
Protected Sub New ()

适用于

Expression(ExpressionType, Type)

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

注意

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.

注意

This constructor has been deprecated. 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);
[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);
[System.Obsolete("This constructor has been deprecated. 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);
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.")>]
new System.Linq.Expressions.Expression : System.Linq.Expressions.ExpressionType * Type -> System.Linq.Expressions.Expression
[<System.Obsolete("This constructor has been deprecated. 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
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

属性

注解

此构造函数是从派生类中的构造函数调用的。

适用于