Method Delete
Delete(IMongoQuery)
Deletes GridFS files.
public void Delete(IMongoQuery query)
Parameters
queryIMongoQueryA query that specifies the GridFS files to delete.
Delete(string)
Deletes all versions of a GridFS file.
public void Delete(string remoteFileName)
Parameters
remoteFileNamestringThe remote file name.