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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public MongoGridFSFileInfo(
	MongoServer server,
	MongoServerInstance serverInstance,
	string databaseName,
	MongoGridFSSettings gridFSSettings,
	string remoteFileName,
	MongoGridFSCreateOptions createOptions
)

Parameters

server
Type: MongoDB.Driver.MongoServer
The server.
serverInstance
Type: MongoDB.Driver.MongoServerInstance
The server instance.
databaseName
Type: System.String
Name of the database.
gridFSSettings
Type: MongoDB.Driver.GridFS.MongoGridFSSettings
The GridFS settings.
remoteFileName
Type: System.String
The remote file name.
createOptions
Type: MongoDB.Driver.GridFS.MongoGridFSCreateOptions
The create options.
See Also