NodeType Property
Collapse the table of content
Expand the table of content

Expression.NodeType Property


Gets the node type of this Expression.

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

public virtual ExpressionType NodeType { get; }

Property Value

Type: System.Linq.Expressions.ExpressionType

One of the ExpressionType values.

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft