Expression Constructors

Definition

Constructs a new instance of Expression.

Overloads

Expression()

Constructs a new instance of Expression.

Expression(ExpressionType, Type)

Initializes a new instance of the Expression class.

Expression()

Constructs a new instance of Expression.

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

Expression(ExpressionType, Type)

Warning

This API is now obsolete.

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);
new System.Linq.Expressions.Expression : System.Linq.Expressions.ExpressionType * Type -> System.Linq.Expressions.Expression

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