Method Exists
Exists(IMongoQuery)
Tests whether a GridFS file exists.
public bool Exists(IMongoQuery query)
Parameters
query
IMongoQueryThe GridFS file.
Returns
- bool
True if the GridFS file exists.
Exists(string)
Tests whether a GridFS file exists.
public bool Exists(string remoteFileName)
Parameters
remoteFileName
stringThe GridFS file.
Returns
- bool
True if the GridFS file exists.