/// <summary> /// Deletes all files, subfolders, and this folder /// </summary> public bool Delete(ref bool Cancel) { if (IsDeleted) { return(true); } Write w = new Write(Drive); return(w.Delete(this, ref Cancel)); }
/// <summary> /// Deletes all files, subfolders, and this folder /// </summary> public bool Delete(ref int ProgressUpdate, ref int ProgressMax, ref string CurrentEntry, ref bool Cancel) { if (IsDeleted) { return(true); } Write w = new Write(Drive); return(w.Delete(this, ref ProgressUpdate, ref ProgressMax, ref CurrentEntry, ref Cancel)); }
/// <summary> /// Deletes the file from its parent folder /// </summary> public bool Delete() { if (IsDeleted) { return(true); } Write w = new Write(Drive); return(w.Delete(this)); }