Пример #1
0
 /// <summary>
 /// Deletes the file
 /// </summary>
 /// <returns>Any response for deleting the resource (usually FTP, HTTP, etc)</returns>
 public string Delete()
 {
     if (InternalFile is null)
     {
         return(string.Empty);
     }
     return(InternalFile.Delete());
 }
Пример #2
0
 /// <summary>
 /// Deletes the file
 /// </summary>
 /// <returns>Any response for deleting the resource (usually FTP, HTTP, etc)</returns>
 public string Delete()
 {
     if (InternalFile == null)
     {
         return("");
     }
     return(InternalFile.Delete());
 }
Пример #3
0
 public void Delete()
 {
     if (!Exists)
     {
         return;
     }
     InternalFile.Delete();
     InternalFile.Refresh();
 }
 /// <summary>
 /// Deletes the file
 /// </summary>
 /// <returns>Any response for deleting the resource (usually FTP, HTTP, etc)</returns>
 public override string Delete()
 {
     if (!Exists)
     {
         return("");
     }
     InternalFile.Delete();
     InternalFile.Refresh();
     return("");
 }