Click or drag to resize

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

Initializes a new instance of the MongoGridFSFileInfo class.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public MongoGridFSFileInfo(
	MongoServer server,
	MongoServerInstance serverInstance,
	string databaseName,
	MongoGridFSSettings gridFSSettings,
	string remoteFileName
)

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.
See Also