Επεξεργασία

Κοινή χρήση μέσω


Expression Constructors

Definition

Constructs a new instance of Expression.

Overloads

Expression()

Constructs a new instance of Expression.

Expression(ExpressionType, Type)
Obsolete.
Obsolete.

Initializes a new instance of the Expression class.

Expression()

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

Constructs a new instance of Expression.

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

Applies to

Expression(ExpressionType, Type)

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

Caution

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.

Caution

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.

Initializes a new instance of the Expression class.

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)

Parameters

nodeType
ExpressionType

The ExpressionType to set as the node type.

type
Type

The Type of this Expression.

Attributes

Remarks

This constructor is called from constructors in derived classes.

Applies to