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
- source
Type: Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
The value containing the property.
- property
Type: Microsoft.Data.Edm.IEdmProperty
The EDM property which is to be accessed.
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 |