語言

Expression 建構函式

定義

構造一個新的實例。Expression

多載

名稱 Description
Expression()

構造一個新的實例。Expression

Expression(ExpressionType, Type)
已淘汰.
已淘汰.

初始化 Expression 類別的新執行個體。

Expression()

來源:
Expression.cs
來源:
Expression.cs
來源:
Expression.cs
來源:
Expression.cs
來源:
Expression.cs

構造一個新的實例。Expression

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

適用於

Expression(ExpressionType, Type)

來源:
Expression.cs
來源:
Expression.cs
來源:
Expression.cs
來源:
Expression.cs
來源:
Expression.cs

警告

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.

警告

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("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);
[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);
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.")>]
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
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 to set 作為節點類型。

type
Type

這個Type。Expression

屬性

備註

此建構子由衍生類別中的建構子呼叫。

適用於