ConvertNode Constructor
Initializes a new instance of the ConvertNode class.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
source As SingleValueNode, _
typeReference As IEdmTypeReference _
)
'Usage
Dim source As SingleValueNode
Dim typeReference As IEdmTypeReference
Dim instance As New ConvertNode(source, _
typeReference)
public ConvertNode(
SingleValueNode source,
IEdmTypeReference typeReference
)
public:
ConvertNode(
SingleValueNode^ source,
IEdmTypeReference^ typeReference
)
new :
source:SingleValueNode *
typeReference:IEdmTypeReference -> ConvertNode
public function ConvertNode(
source : SingleValueNode,
typeReference : IEdmTypeReference
)
Parameters
- source
Type: Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
The node to convert.
- typeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
The type to convert the node to
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Throws if the input source or typeReference is null. |