Поделиться через


Expression Constructor (ExpressionType, Type)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
<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 Sub New ( _
    nodeType As ExpressionType, _
    type As Type _
)
[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

Remarks

This constructor is called from constructors in derived classes.

Version Information

Silverlight

Supported in: 3
Obsolete (compiler warning) in 5
Obsolete (compiler warning) in 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.