Expression Constructor (ExpressionType, Type)
Collapse the table of content
Expand the table of content

Expression Constructor (ExpressionType, Type)

Note: This API is now obsolete.

Initializes a new instance of the Expression class.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

[ObsoleteAttribute("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(
	ExpressionType nodeType,
	Type type


Type: System.Linq.Expressions.ExpressionType

The ExpressionType to set as the node type.

Type: System.Type

The Type of this Expression.

This constructor is called from constructors in derived classes.

.NET Framework
Available since 3.5
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2016 Microsoft