UnaryOperatorNode Constructor

Initializes a new instance of the UnaryOperatorNode class.

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

Syntax

'Declaration
Public Sub New ( _
    operatorKind As UnaryOperatorKind, _
    operand As SingleValueNode _
)
'Usage
Dim operatorKind As UnaryOperatorKind 
Dim operand As SingleValueNode 

Dim instance As New UnaryOperatorNode(operatorKind, _
    operand)
public UnaryOperatorNode(
    UnaryOperatorKind operatorKind,
    SingleValueNode operand
)
public:
UnaryOperatorNode(
    UnaryOperatorKind operatorKind, 
    SingleValueNode^ operand
)
new : 
        operatorKind:UnaryOperatorKind * 
        operand:SingleValueNode -> UnaryOperatorNode
public function UnaryOperatorNode(
    operatorKind : UnaryOperatorKind, 
    operand : SingleValueNode
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throws if the input operand is null.

See Also

Reference

UnaryOperatorNode Class

Microsoft.Data.OData.Query.SemanticAst Namespace