Expression.NodeType Expression.NodeType Expression.NodeType Expression.NodeType Property

Definition

Gets the node type of this Expression.

public:
 virtual property System::Linq::Expressions::ExpressionType NodeType { System::Linq::Expressions::ExpressionType get(); };
public virtual System.Linq.Expressions.ExpressionType NodeType { get; }
member this.NodeType : System.Linq.Expressions.ExpressionType
Public Overridable ReadOnly Property NodeType As ExpressionType

Property Value

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.

Applies to