Class ObjectSortDefinition

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

public sealed class ObjectSortDefinition<TDocument> : SortDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance

ObjectSortDefinition

Inherited Members

Extension Methods

Constructors

ObjectSortDefinition(object)

Initializes a new instance of the ObjectSortDefinition class.

Properties

Object

Gets the object.

Methods

Render(RenderArgs)

Renders the sort to a BsonDocument.