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

這個 TypeExpression

屬性

備註

這個建構函式是從衍生類別中的建構函式呼叫。

適用於