MongoGridFSFileInfo Constructor (MongoServer, MongoServerInstance, String, MongoGridFSSettings, BsonDocument) |
Namespace: MongoDB.Driver.GridFSAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.2.0
Syntaxpublic MongoGridFSFileInfo(
MongoServer server,
MongoServerInstance serverInstance,
string databaseName,
MongoGridFSSettings gridFSSettings,
BsonDocument fileInfo
)
Public Sub New (
server As MongoServer,
serverInstance As MongoServerInstance,
databaseName As String,
gridFSSettings As MongoGridFSSettings,
fileInfo As BsonDocument
)
new :
server : MongoServer *
serverInstance : MongoServerInstance *
databaseName : string *
gridFSSettings : MongoGridFSSettings *
fileInfo : BsonDocument -> MongoGridFSFileInfo
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. - fileInfo
- Type: MongoDB.Bson.BsonDocument
The fileInfo.
See Also