Class JsonSortDefinition
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
A JSON string based sort.
public sealed class JsonSortDefinition<TDocument> : SortDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
Inheritance
JsonSortDefinition
Inherited Members
Extension Methods
Constructors
Initializes a new instance of the JsonSortDefinition class.
Properties
Gets the json.
Methods
Renders the sort to a BsonDocument.