ConstantNode Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Node representing a constant value, can either be primitive, complex, entity, or collection value.
public sealed class ConstantNode : Microsoft.OData.UriParser.SingleValueNode
type ConstantNode = class
inherit SingleValueNode
Public NotInheritable Class ConstantNode
Inherits SingleValueNode
- Inheritance
Constructors
ConstantNode(Object, String, IEdmTypeReference) |
Create a ConstantNode |
ConstantNode(Object, String) |
Create a ConstantNode |
ConstantNode(Object) |
Create a ConstantNode |
Properties
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. |
Value |
Gets the primitive constant value. |
Methods
Accept<T>(QueryNodeVisitor<T>) |
Accept a QueryNodeVisitor<T> to walk a tree of QueryNodes. |