OrderByClause Constructor

Initializes a new instance of the OrderByClause class.

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

Syntax

'Declaration
Public Sub New ( _
    thenBy As OrderByClause, _
    expression As SingleValueNode, _
    direction As OrderByDirection, _
    rangeVariable As RangeVariable _
)
'Usage
Dim thenBy As OrderByClause 
Dim expression As SingleValueNode 
Dim direction As OrderByDirection 
Dim rangeVariable As RangeVariable 

Dim instance As New OrderByClause(thenBy, _
    expression, direction, rangeVariable)
public OrderByClause(
    OrderByClause thenBy,
    SingleValueNode expression,
    OrderByDirection direction,
    RangeVariable rangeVariable
)
public:
OrderByClause(
    OrderByClause^ thenBy, 
    SingleValueNode^ expression, 
    OrderByDirection direction, 
    RangeVariable^ rangeVariable
)
new : 
        thenBy:OrderByClause * 
        expression:SingleValueNode * 
        direction:OrderByDirection * 
        rangeVariable:RangeVariable -> OrderByClause
public function OrderByClause(
    thenBy : OrderByClause, 
    expression : SingleValueNode, 
    direction : OrderByDirection, 
    rangeVariable : RangeVariable
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throws if the input expression or rangeVariable is null.

See Also

Reference

OrderByClause Class

Microsoft.Data.OData.Query.SemanticAst Namespace