System.Linq.Expressions.ConditionalExpression Class

Represents an expression that has a conditional operator.

See Also: ConditionalExpression Members

Syntax

[System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/ConditionalExpressionProxy))]
public class ConditionalExpression : Expression

Remarks

Use the Expression.Condition(Expression, Expression, Expression) factory method to create a System.Linq.Expressions.ConditionalExpression.

The Expression.NodeType of a System.Linq.Expressions.ConditionalExpression is ExpressionType.Conditional.

Requirements

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