示例#1
0
        /// <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));
        }
示例#2
0
        /// <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));
        }
示例#3
0
        /// <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));
        }