ConstantExpression Properties

The ConstantExpression type exposes the following members.

  Name Description
Public property Supported by Portable Class Library CanReduce Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form. (Inherited from Expression.)
Public property Supported by Portable Class Library NodeType Returns the node type of this Expression. Extension nodes should return Extension when overriding this method. (Overrides Expression.NodeType.)
Public property Supported by Portable Class Library Type Gets the static type of the expression that this Expression represents. (Overrides Expression.Type.)
Public property Supported by Portable Class Library Value Gets the value of the constant expression.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft