Share via


OrderByClause Constructor

Definition

Creates an OrderByClause.

public OrderByClause (Microsoft.OData.UriParser.OrderByClause thenBy, Microsoft.OData.UriParser.SingleValueNode expression, Microsoft.OData.UriParser.OrderByDirection direction, Microsoft.OData.UriParser.RangeVariable rangeVariable);
new Microsoft.OData.UriParser.OrderByClause : Microsoft.OData.UriParser.OrderByClause * Microsoft.OData.UriParser.SingleValueNode * Microsoft.OData.UriParser.OrderByDirection * Microsoft.OData.UriParser.RangeVariable -> Microsoft.OData.UriParser.OrderByClause
Public Sub New (thenBy As OrderByClause, expression As SingleValueNode, direction As OrderByDirection, rangeVariable As RangeVariable)

Parameters

thenBy
OrderByClause

The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression.

expression
SingleValueNode

The order-by expression. Cannot be null.

direction
OrderByDirection

The direction to order.

rangeVariable
RangeVariable

The rangeVariable for the expression which represents a single value from the collection we iterate over.

Exceptions

Throws if the input expression or rangeVariable is null.

Applies to