IFindFluent<TDocument, TProjection>.Sort Method |
Sorts the the documents.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
SyntaxIFindFluent<TDocument, TProjection> Sort(
SortDefinition<TDocument> sort
)
Function Sort (
sort As SortDefinition(Of TDocument)
) As IFindFluent(Of TDocument, TProjection)
abstract Sort :
sort : SortDefinition<'TDocument> -> IFindFluent<'TDocument, 'TProjection>
Parameters
- sort
- Type: MongoDB.Driver.SortDefinition<TDocument>
The sort.
Return Value
Type:
IFindFluent<TDocument,
TProjection>The fluent find interface.
See Also