Share via


UnaryOperatorNode Class

Describes a node representing a unary operator.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Query.SemanticAst.QueryNode
      Microsoft.Data.OData.Query.SemanticAst.SingleValueNode
        Microsoft.Data.OData.Query.SemanticAst.UnaryOperatorNode

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

Syntax

'Declaration
Public NotInheritable Class UnaryOperatorNode _
    Inherits SingleValueNode
'Usage
Dim instance As UnaryOperatorNode
public sealed class UnaryOperatorNode : SingleValueNode
public ref class UnaryOperatorNode sealed : public SingleValueNode
[<SealedAttribute>]
type UnaryOperatorNode =  
    class 
        inherit SingleValueNode 
    end
public final class UnaryOperatorNode extends SingleValueNode

The UnaryOperatorNode type exposes the following members.

Constructors

  Name Description
Public method UnaryOperatorNode Initializes a new instance of the UnaryOperatorNode class.

Top

Properties

  Name Description
Public property Kind Gets the kind of this node. (Inherited from SingleValueNode.)
Public property Operand Gets the operand of the unary operator.
Public property OperatorKind Gets the operator represented by this node.
Public property TypeReference Gets the type of the single value this node represents. (Overrides SingleValueNode.TypeReference.)

Top

Methods

  Name Description
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Inherited from QueryNode.)
Public method Accept<T>(QueryNodeVisitor<T>) Accept a QueryNodeVisitor<T> that walks a tree of QueryNodes. (Overrides QueryNode.Accept<T>(QueryNodeVisitor<T>).)
Public method Equals (Inherited from Object.)
Public method GetAnnotation<T> Gets or sets the annotation by type. (Inherited from ODataAnnotatable.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAnnotation<T> Sets an annotation of type T. (Inherited from ODataAnnotatable.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData.Query.SemanticAst Namespace