Click or drag to resize

SortDefinitionExtensions Class

Extension methods for SortDefinition.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverSortDefinitionExtensions

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public static class SortDefinitionExtensions

The SortDefinitionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAscendingTDocument(SortDefinitionTDocument, FieldDefinitionTDocument)
Combines an existing sort with an ascending field.
Public methodStatic memberAscendingTDocument(SortDefinitionTDocument, ExpressionFuncTDocument, Object)
Combines an existing sort with an ascending field.
Public methodStatic memberDescendingTDocument(SortDefinitionTDocument, FieldDefinitionTDocument)
Combines an existing sort with an descending field.
Public methodStatic memberDescendingTDocument(SortDefinitionTDocument, ExpressionFuncTDocument, Object)
Combines an existing sort with an descending field.
Public methodStatic memberMetaTextScoreTDocument
Combines an existing sort with a descending sort on the computed relevance score of a text search. The field name should be the name of the projected relevance score field.
Top
See Also