Click or drag to resize

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

Initializes a new instance of the MongoGridFSFileInfo class.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public MongoGridFSFileInfo(
	MongoServer server,
	MongoServerInstance serverInstance,
	string databaseName,
	MongoGridFSSettings gridFSSettings,
	string remoteFileName,
	MongoGridFSCreateOptions createOptions
)

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.
remoteFileName
Type: SystemString
The remote file name.
createOptions
Type: MongoDB.Driver.GridFSMongoGridFSCreateOptions
The create options.
See Also