Expression Конструкторы

Определение

Создает новый экземпляр класса Expression.

Перегрузки

Expression()

Создает новый экземпляр класса Expression.

Expression(ExpressionType, Type)
Является устаревшей.
Является устаревшей.

Инициализирует новый экземпляр класса Expression.

Expression()

Создает новый экземпляр класса Expression.

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

Применяется к

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.

Внимание!

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

Значение Type этого экземпляра Expression.

Атрибуты

Комментарии

Этот конструктор вызывается из конструкторов в производных классах.

Применяется к