Share via


OrderByClause Class

Represents the result of parsing the $orderby query option.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.Query.SemanticAst.OrderByClause

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

Syntax

'Declaration
Public NotInheritable Class OrderByClause
'Usage
Dim instance As OrderByClause
public sealed class OrderByClause
public ref class OrderByClause sealed
[<SealedAttribute>]
type OrderByClause =  class end
public final class OrderByClause

The OrderByClause type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Direction Gets the direction to order.
Public property Expression Gets the order-by expression.
Public property ItemType Gets the type of a single item from the collection returned after ordering.
Public property RangeVariable Gets the range variable for the expression which represents a single value from the collection we iterate over.
Public property ThenBy Gets the next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
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