Method ToBsonDocument NamespaceMongoDB.Bson AssemblyMongoDB.Bson.dll ToBsonDocument() Converts this object to a BsonDocument. BsonDocument ToBsonDocument() Returns BsonDocument A BsonDocument.