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