Share via


RangeVariable Class

Represents a range variable, which represents an iterator variable either over a collection, either of entities or not. Exists outside of the main SemanticAST, but hooked in via a RangeVariableReferenceNode (either Non-Entity or Entity).

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataAnnotatable
    Microsoft.Data.OData.Query.SemanticAst.RangeVariable
      Microsoft.Data.OData.Query.SemanticAst.EntityRangeVariable
      Microsoft.Data.OData.Query.SemanticAst.NonentityRangeVariable

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

Syntax

'Declaration
Public MustInherit Class RangeVariable _
    Inherits ODataAnnotatable
'Usage
Dim instance As RangeVariable
public abstract class RangeVariable : ODataAnnotatable
public ref class RangeVariable abstract : public ODataAnnotatable
[<AbstractClassAttribute>]
type RangeVariable =  
    class 
        inherit ODataAnnotatable 
    end
public abstract class RangeVariable extends ODataAnnotatable

The RangeVariable type exposes the following members.

Constructors

  Name Description
Protected method RangeVariable Initializes a new instance of the RangeVariable class.

Top

Properties

  Name Description
Public property Kind Gets the kind of this range variable.
Public property Name Gets the name of the associated range variable.
Public property TypeReference Gets the type of entity referenced by this range variable.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (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.)
Protected method MemberwiseClone (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