ConstantNode Class
Represents a primitive constant value.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataAnnotatable
Microsoft.Data.OData.Query.SemanticAst.QueryNode
Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
Microsoft.Data.OData.Query.SemanticAst.ConstantNode
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class ConstantNode _
Inherits SingleValueNode
'Usage
Dim instance As ConstantNode
public sealed class ConstantNode : SingleValueNode
public ref class ConstantNode sealed : public SingleValueNode
[<SealedAttribute>]
type ConstantNode =
class
inherit SingleValueNode
end
public final class ConstantNode extends SingleValueNode
The ConstantNode type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstantNode(Object) | Initializes a new instance of the ConstantNode class. | |
ConstantNode(Object, String) | Create a ConstantNode |
Top
Properties
Name | Description | |
---|---|---|
Kind | Gets the kind of this node. (Inherited from SingleValueNode.) | |
LiteralText | Get or Set the literal text for this node's value, formatted according to the OData URI literal formatting rules. May be null if the text was not provided at construction time. | |
TypeReference | Gets the resource type of the single value this node represents. (Overrides SingleValueNode.TypeReference.) | |
Value | Gets the primitive constant value. |
Top
Methods
Name | Description | |
---|---|---|
Accept<T>(QueryNodeVisitor<T>) | Accept a QueryNodeVisitor<T> to walk a tree of QueryNodes. (Overrides QueryNode.Accept<T>(QueryNodeVisitor<T>).) | |
Accept<T>(QueryNodeVisitor<T>) | Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Inherited from QueryNode.) | |
Equals | (Inherited from Object.) | |
GetAnnotation<T> | Gets or sets the annotation by type. (Inherited from ODataAnnotatable.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
SetAnnotation<T> | Sets an annotation of type T. (Inherited from ODataAnnotatable.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.