Share via


SingleResourceCastNode(SingleResourceNode, IEdmStructuredType) Constructor

Definition

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

public SingleResourceCastNode (Microsoft.OData.UriParser.SingleResourceNode source, Microsoft.OData.Edm.IEdmStructuredType structuredType);
new Microsoft.OData.UriParser.SingleResourceCastNode : Microsoft.OData.UriParser.SingleResourceNode * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.UriParser.SingleResourceCastNode
Public Sub New (source As SingleResourceNode, structuredType As IEdmStructuredType)

Parameters

source
SingleResourceNode

Source SingleValueNode that is being cast.

structuredType
IEdmStructuredType

Type to cast to.

Exceptions

Throws if the input entityType is null.

Applies to