Method FindOneById
FindOneById(BsonValue)
Finds a GridFS file.
public MongoGridFSFileInfo FindOneById(BsonValue id)
Parameters
id
BsonValueThe GridFS file Id.
Returns
- MongoGridFSFileInfo
The GridFS file.
Finds a GridFS file.
public MongoGridFSFileInfo FindOneById(BsonValue id)
id
BsonValueThe GridFS file Id.
The GridFS file.