Expression.NodeType プロパティ

定義

この Expression のノード型を取得します。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

プロパティ値

ExpressionType

ExpressionType 値のいずれか 1 つ。One of the ExpressionType values.

注釈

プロパティは、 NodeType 派生型だけではなく、より専門的な説明を提供し Expression ます。The NodeType property provides a more specialized description of an Expression than just its derived type. たとえば、を BinaryExpression 使用して、除算演算や "大なり" 演算など、さまざまな種類のバイナリ式を表すことができます。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. プロパティでは、 NodeType これらのバイナリ式をそれぞれおよびとして記述し Divide GreaterThan ます。The NodeType property would describe these binary expressions as Divide and GreaterThan, respectively.

オブジェクトが表す式の静的な CLR 型 Expression は、プロパティによって表され Type ます。The static CLR type of the expression that the Expression object represents is represented by the Type property.

適用対象