Expression Constructor (ExpressionType, Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: