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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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