Click or drag to resize

GridFSFileInfo<TFileId> Constructor

Initializes a new instance of the GridFSFileInfo class.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public GridFSFileInfo(
	BsonDocument backingDocument,
	IGridFSFileInfoSerializer<TFileId> fileInfoSerializer
)

Parameters

backingDocument
Type: MongoDB.Bson.BsonDocument
The backing document.
fileInfoSerializer
Type: MongoDB.Driver.GridFS.IGridFSFileInfoSerializer<TFileId>
The fileInfo serializer.
See Also