SingleValueFunctionCallNode Constructor (String, IEnumerable<IEdmFunctionImport>, IEnumerable<QueryNode>, IEdmTypeReference, QueryNode)
Create a SingleValueFunctionCallNode
Namespace: Microsoft.Data.OData.Query
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
functionImports As IEnumerable(Of IEdmFunctionImport), _
arguments As IEnumerable(Of QueryNode), _
typeReference As IEdmTypeReference, _
source As QueryNode _
)
'Usage
Dim name As String
Dim functionImports As IEnumerable(Of IEdmFunctionImport)
Dim arguments As IEnumerable(Of QueryNode)
Dim typeReference As IEdmTypeReference
Dim source As QueryNode
Dim instance As New SingleValueFunctionCallNode(name, functionImports, _
arguments, typeReference, source)
public SingleValueFunctionCallNode(
string name,
IEnumerable<IEdmFunctionImport> functionImports,
IEnumerable<QueryNode> arguments,
IEdmTypeReference typeReference,
QueryNode source
)
public:
SingleValueFunctionCallNode(
String^ name,
IEnumerable<IEdmFunctionImport^>^ functionImports,
IEnumerable<QueryNode^>^ arguments,
IEdmTypeReference^ typeReference,
QueryNode^ source
)
new :
name:string *
functionImports:IEnumerable<IEdmFunctionImport> *
arguments:IEnumerable<QueryNode> *
typeReference:IEdmTypeReference *
source:QueryNode -> SingleValueFunctionCallNode
public function SingleValueFunctionCallNode(
name : String,
functionImports : IEnumerable<IEdmFunctionImport>,
arguments : IEnumerable<QueryNode>,
typeReference : IEdmTypeReference,
source : QueryNode
)
Parameters
- name
Type: System.String
The name of the function to call
- functionImports
Type: System.Collections.Generic.IEnumerable<IEdmFunctionImport>
the list of functions to call
- arguments
Type: System.Collections.Generic.IEnumerable<QueryNode>
the list of arguments to this function
- typeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
the type of the value returned by this function.
- source
Type: Microsoft.Data.OData.Query.SemanticAst.QueryNode
The semantically bound parent of this function.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input functionImports is null. |
See Also
Reference
SingleValueFunctionCallNode Class