Table of Contents

Class SortDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for sorts.

public abstract class SortDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SortDefinition<TDocument>
Derived
Inherited Members
Extension Methods

Methods

Render(RenderArgs<TDocument>)

Renders the sort to a BsonDocument.

Operators

implicit operator SortDefinition<TDocument>(BsonDocument)

Performs an implicit conversion from BsonDocument to SortDefinition<TDocument>.

implicit operator SortDefinition<TDocument>(string)

Performs an implicit conversion from string to SortDefinition<TDocument>.