Share via


CollectionFunctionCallNode Constructor

Creates a CollectionFunctionCallNode to represent a function call that returns a collection

Namespace:  Microsoft.Data.OData.Query.SemanticAst
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    functionImports As IEnumerable(Of IEdmFunctionImport), _
    parameters As IEnumerable(Of QueryNode), _
    returnedCollectionType As IEdmCollectionTypeReference, _
    source As QueryNode _
)
'Usage
Dim name As String 
Dim functionImports As IEnumerable(Of IEdmFunctionImport)
Dim parameters As IEnumerable(Of QueryNode)
Dim returnedCollectionType As IEdmCollectionTypeReference 
Dim source As QueryNode 

Dim instance As New CollectionFunctionCallNode(name, functionImports, _
    parameters, returnedCollectionType, _
    source)
public CollectionFunctionCallNode(
    string name,
    IEnumerable<IEdmFunctionImport> functionImports,
    IEnumerable<QueryNode> parameters,
    IEdmCollectionTypeReference returnedCollectionType,
    QueryNode source
)
public:
CollectionFunctionCallNode(
    String^ name, 
    IEnumerable<IEdmFunctionImport^>^ functionImports, 
    IEnumerable<QueryNode^>^ parameters, 
    IEdmCollectionTypeReference^ returnedCollectionType, 
    QueryNode^ source
)
new : 
        name:string * 
        functionImports:IEnumerable<IEdmFunctionImport> * 
        parameters:IEnumerable<QueryNode> * 
        returnedCollectionType:IEdmCollectionTypeReference * 
        source:QueryNode -> CollectionFunctionCallNode
public function CollectionFunctionCallNode(
    name : String, 
    functionImports : IEnumerable<IEdmFunctionImport>, 
    parameters : IEnumerable<QueryNode>, 
    returnedCollectionType : IEdmCollectionTypeReference, 
    source : QueryNode
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throws if the provided name is null.

ArgumentNullException

Throws if the provided collection type reference is null.

ArgumentException

Throws if the element type of the provided collection type reference is not a primitive or complex type.

See Also

Reference

CollectionFunctionCallNode Class

Microsoft.Data.OData.Query.SemanticAst Namespace