Share via


SingleValueCastNode(SingleValueNode, IEdmPrimitiveType) Constructor

Definition

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

public SingleValueCastNode (Microsoft.OData.UriParser.SingleValueNode source, Microsoft.OData.Edm.IEdmPrimitiveType primitiveType);
new Microsoft.OData.UriParser.SingleValueCastNode : Microsoft.OData.UriParser.SingleValueNode * Microsoft.OData.Edm.IEdmPrimitiveType -> Microsoft.OData.UriParser.SingleValueCastNode
Public Sub New (source As SingleValueNode, primitiveType As IEdmPrimitiveType)

Parameters

source
SingleValueNode

Source SingleValueNode that is being cast.

primitiveType
IEdmPrimitiveType

Type to cast to.

Exceptions

Throws if the input primitiveType is null.

Applies to