Click or drag to resize

OrderByClause Constructor

Initializes an instance of the OrderByClause class.

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public OrderByClause(
	LambdaExpression key,
	OrderByDirection direction
)

Parameters

key
Type: System.Linq.ExpressionsLambdaExpression
An expression identifying the key of the order by clause.
direction
Type: MongoDB.Driver.LinqOrderByDirection
The direction of the order by clause.
See Also