Instances of ExprConstant represent constants.

C# | Visual Basic | Visual C++ |
public class ExprConstant : IExpr, IQueryNode
Public Class ExprConstant _ Implements IExpr, IQueryNode
public ref class ExprConstant : IExpr, IQueryNode

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | ExprConstantExprConstantNew(String) |
Creates a new ExprConstant expression node
representing the specified constant val.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString()() |
Returns the string form of this ExprConstant.
(Overrides Object.ToString()().) |
![]() | ToWire()() |
Returns the wire form of this ExprConstant.
|
![]() | ValidateSyntax()() |
Validates the syntax of this ExprConstant.
|
![]() | Value |
Gets and sets the constant value for this ExprConstant.
|

Constants are used in expressions, such as the "2"
in "x + 2". Both string and numeric constants
are treated identically.

Object | |
![]() | ExprConstant |