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

Exceptions

Exception Condition
ArgumentNullException

Throws if input source or property is null.

ArgumentException

Throws if input property is not structural, or is a collection.

See Also

Reference

SingleValuePropertyAccessNode Class

Microsoft.Data.OData.Query.SemanticAst Namespace