SingleValueOpenPropertyAccessNode Constructor
Initializes a new instance of the SingleValueOpenPropertyAccessNode class.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
source As SingleValueNode, _
openPropertyName As String _
)
'Usage
Dim source As SingleValueNode
Dim openPropertyName As String
Dim instance As New SingleValueOpenPropertyAccessNode(source, _
openPropertyName)
public SingleValueOpenPropertyAccessNode(
SingleValueNode source,
string openPropertyName
)
public:
SingleValueOpenPropertyAccessNode(
SingleValueNode^ source,
String^ openPropertyName
)
new :
source:SingleValueNode *
openPropertyName:string -> SingleValueOpenPropertyAccessNode
public function SingleValueOpenPropertyAccessNode(
source : SingleValueNode,
openPropertyName : String
)
Parameters
- source
Type: Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
The value containing this property.
- openPropertyName
Type: System.String
The name of the open property to be bound outside the EDM model.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input source or openPropertyName is null. |