Constructor BsonDocumentSortDefinition
BsonDocumentSortDefinition(BsonDocument)
Initializes a new instance of the BsonDocumentSortDefinition<TDocument> class.
public BsonDocumentSortDefinition(BsonDocument document)
Parameters
document
BsonDocumentThe document.