Share via


CollectionPropertyAccessNode Constructor

Initializes a new instance of the CollectionPropertyAccessNode class.

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

Syntax

'Declaration
Public Sub New ( _
    source As SingleValueNode, _
    property As IEdmProperty _
)
'Usage
Dim source As SingleValueNode 
Dim property As IEdmProperty 

Dim instance As New CollectionPropertyAccessNode(source, _
    property)
public CollectionPropertyAccessNode(
    SingleValueNode source,
    IEdmProperty property
)
public:
CollectionPropertyAccessNode(
    SingleValueNode^ source, 
    IEdmProperty^ property
)
new : 
        source:SingleValueNode * 
        property:IEdmProperty -> CollectionPropertyAccessNode
public function CollectionPropertyAccessNode(
    source : SingleValueNode, 
    property : IEdmProperty
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throws if the input source or property is null.

ArgumentException

Throws if the input property is not a collection of structural properties

See Also

Reference

CollectionPropertyAccessNode Class

Microsoft.Data.OData.Query.SemanticAst Namespace