OrderByClause Constructor |
Initializes an instance of the OrderByClause class.
Namespace:
MongoDB.Driver.Linq
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax public OrderByClause(
LambdaExpression key,
OrderByDirection direction
)
Public Sub New (
key As LambdaExpression,
direction As OrderByDirection
)
new :
key : LambdaExpression *
direction : OrderByDirection -> OrderByClause
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