BinaryOperatorNode Constructor

Initializes a new instance of the BinaryOperatorNode class.

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

Syntax

'Declaration
Public Sub New ( _
    operatorKind As BinaryOperatorKind, _
    left As SingleValueNode, _
    right As SingleValueNode _
)
'Usage
Dim operatorKind As BinaryOperatorKind 
Dim left As SingleValueNode 
Dim right As SingleValueNode 

Dim instance As New BinaryOperatorNode(operatorKind, _
    left, right)
public BinaryOperatorNode(
    BinaryOperatorKind operatorKind,
    SingleValueNode left,
    SingleValueNode right
)
public:
BinaryOperatorNode(
    BinaryOperatorKind operatorKind, 
    SingleValueNode^ left, 
    SingleValueNode^ right
)
new : 
        operatorKind:BinaryOperatorKind * 
        left:SingleValueNode * 
        right:SingleValueNode -> BinaryOperatorNode
public function BinaryOperatorNode(
    operatorKind : BinaryOperatorKind, 
    left : SingleValueNode, 
    right : SingleValueNode
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throws if the left or right inputs are null.

ODataException

Throws if the two operands don't have the same type.

See Also

Reference

BinaryOperatorNode Class

Microsoft.Data.OData.Query.SemanticAst Namespace