IFindFluent<TDocument, TProjection>.Sort Method |
Sorts the the documents.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
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