System.Linq.Expressions.ConstantExpression Class

Represents an expression that has a constant value.

See Also: ConstantExpression Members

Syntax

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

Remarks

Use the erload:System.Linq.Expressions.Expression.Constant factory methods to create a System.Linq.Expressions.ConstantExpression.

The Expression.NodeType of a System.Linq.Expressions.ConstantExpression is ExpressionType.Constant.

Requirements

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