Expression.NodeType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the node type of this Expression.
public:
virtual property System::Linq::Expressions::ExpressionType NodeType { System::Linq::Expressions::ExpressionType get(); };
public:
property System::Linq::Expressions::ExpressionType NodeType { System::Linq::Expressions::ExpressionType get(); };
public virtual System.Linq.Expressions.ExpressionType NodeType { get; }
public System.Linq.Expressions.ExpressionType NodeType { get; }
member this.NodeType : System.Linq.Expressions.ExpressionType
Public Overridable ReadOnly Property NodeType As ExpressionType
Public ReadOnly Property NodeType As ExpressionType
Property Value
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.