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