MongoGridFSFileInfo Constructor (MongoServer, MongoServerInstance, String, MongoGridFSSettings, BsonDocument) |
Namespace:
MongoDB.Driver.GridFS
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public 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.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