Expression 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
構造一個新的實例。Expression
多載
| 名稱 | Description |
|---|---|
| Expression() |
構造一個新的實例。Expression |
| Expression(ExpressionType, Type) |
已淘汰.
已淘汰.
初始化 Expression 類別的新執行個體。 |
Expression()
Expression(ExpressionType, Type)
警告
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
- 屬性
備註
此建構子由衍生類別中的建構子呼叫。