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