System.Linq.Expressions.TypeBinaryExpression Class

Represents an operation between an expression and a type.

See Also: TypeBinaryExpression Members

Syntax

[System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/TypeBinaryExpressionProxy))]
public sealed class TypeBinaryExpression : Expression

Remarks

A type test is an example of an operation between an expression and a type.

Use the Expression.TypeIs(Expression, Type) factory method to create a System.Linq.Expressions.TypeBinaryExpression.

The value of the Expression.NodeType property of a System.Linq.Expressions.TypeBinaryExpression object is ExpressionType.TypeIs.

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0