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

Expression Constructor (ExpressionType, Type)

Note: This API is now obsolete.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the Expression class.

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

'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 _
)

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.

Windows Phone OS

Supported in: 7.1, 7.0
Obsolete (compiler warning) in 8.1
Obsolete (compiler warning) in 8.0

Windows Phone

Show:
© 2017 Microsoft