Click or drag to resize

MongoGridFSFileInfo Constructor (MongoServer, MongoServerInstance, String, MongoGridFSSettings, BsonDocument)

Initializes a new instance of the MongoGridFSFileInfo class.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public MongoGridFSFileInfo(
	MongoServer server,
	MongoServerInstance serverInstance,
	string databaseName,
	MongoGridFSSettings gridFSSettings,
	BsonDocument fileInfo
)

Parameters

server
Type: MongoDB.DriverMongoServer
The server.
serverInstance
Type: MongoDB.DriverMongoServerInstance
The server instance.
databaseName
Type: SystemString
Name of the database.
gridFSSettings
Type: MongoDB.Driver.GridFSMongoGridFSSettings
The GridFS settings.
fileInfo
Type: MongoDB.BsonBsonDocument
The fileInfo.
See Also