SingleValuePropertyAccessNode Constructor
Initializes a new instance of the SingleValuePropertyAccessNode 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 SingleValuePropertyAccessNode(source, _
property)
public SingleValuePropertyAccessNode(
SingleValueNode source,
IEdmProperty property
)
public:
SingleValuePropertyAccessNode(
SingleValueNode^ source,
IEdmProperty^ property
)
new :
source:SingleValueNode *
property:IEdmProperty -> SingleValuePropertyAccessNode
public function SingleValuePropertyAccessNode(
source : SingleValueNode,
property : IEdmProperty
)
Parameters
- source
Type: Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
The value containing this property.
- property
Type: Microsoft.Data.Edm.IEdmProperty
The EDM property which is to be accessed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if input source or property is null. |
ArgumentException | Throws if input property is not structural, or is a collection. |