Share via


SingleValueCastNode Class

Definition

Node representing a type segment that casts a single primitive value node.

public sealed class SingleValueCastNode : Microsoft.OData.UriParser.SingleValueNode
type SingleValueCastNode = class
    inherit SingleValueNode
Public NotInheritable Class SingleValueCastNode
Inherits SingleValueNode
Inheritance
SingleValueCastNode

Constructors

SingleValueCastNode(SingleValueNode, IEdmPrimitiveType)

Created a SingleValueCastNode with the given source node and the given type to cast to.

Properties

Kind

Gets the kind of this node.

(Inherited from SingleValueNode)
Source

Gets the property that we're casting to a different type.

TypeReference

Gets the target type that the source is cast to.

Methods

Accept<T>(QueryNodeVisitor<T>)

Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes.

Applies to