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
- operatorKind
Type: Microsoft.Data.OData.Query.UnaryOperatorKind
The kind of operator this node represents.
- operand
Type: Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
The operand that this operator modifies.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input operand is null. |