Click or drag to resize

MongoDatabaseGetGridFS Method

Gets an instance of MongoGridFS for this database using custom GridFS settings.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public virtual MongoGridFS GetGridFS(
	MongoGridFSSettings gridFSSettings
)

Parameters

gridFSSettings
Type: MongoDB.Driver.GridFSMongoGridFSSettings
The GridFS settings to use.

Return Value

Type: MongoGridFS
An instance of MongoGridFS.
See Also