Exemplo n.º 1
0
 /// <summary>
 /// Removes the specified attribute from file or directory
 /// </summary>
 /// <param name="path">A directory or file. </param>
 /// <param name="attribute">Attribute to remove </param>
 /// <returns>true if removed. false if not exists in attributes</returns>
 public static bool RemoveAttribute(string path, FileAttributes attribute)
 {
     Contract.Requires(!String.IsNullOrWhiteSpace(path));
     return(InternalQuickIO.RemoveAttribute(path, attribute));
 }
 /// <summary>
 /// Removes the specified attribute from file or directory
 /// </summary>
 /// <param name="path">A directory or file. </param>
 /// <param name="attribute">Attribute to remove </param>
 /// <returns>true if removed. false if not exists in attributes</returns>
 public static bool RemoveAttribute(string path, FileAttributes attribute)
 {
     return(InternalQuickIO.RemoveAttribute(path, attribute));
 }