Share via


CollectionResourceCastNode Class

Definition

Node representing a type segment that casts a resource collection node.

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

Constructors

CollectionResourceCastNode(CollectionResourceNode, IEdmStructuredType)

Create a CollectionCastNode with the given source node and the given target type.

Properties

CollectionType

The type of the collection represented by this node.

ItemStructuredType

Gets the resource type that we're casting all items in this collection to.

ItemType

Gets the type that we're casting all items in this collection to.

Kind

Gets the kind of this node.

(Inherited from CollectionNode)
NavigationSource

Gets the navigation source that our collection comes from.

Source

Gets the entity collection node that we're casting.

Methods

Accept<T>(QueryNodeVisitor<T>)

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

Applies to