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
)

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:
© 2016 Microsoft