Aracılığıyla paylaş


Expression.NodeType Property

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

Gets the node type of this Expression.

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

Syntax

'Declaration
Public Overridable ReadOnly Property NodeType As ExpressionType
public virtual ExpressionType NodeType { get; }

Property Value

Type: System.Linq.Expressions.ExpressionType
One of the ExpressionType values.

Remarks

The NodeType property provides a more specialized description of an Expression than just its derived type. For example, a BinaryExpression can be used to represent many different kinds of binary expressions, such as a division operation or a "greater than" operation. The NodeType property would describe these binary expressions as Divide and GreaterThan, respectively.

The static CLR type of the expression that the Expression object represents is represented by the Type property.

Version Information

Silverlight

Supported in: 5, 4, 3

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.