Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

protected:
[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.")]
Expression(
	ExpressionType nodeType,
	Type^ type
)

Parameters

nodeType
Type: System.Linq.Expressions::ExpressionType

The ExpressionType to set as the node type.

type
Type: System::Type^

The Type of this Expression.

This constructor is called from constructors in derived classes.

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