コード例 #1
0
ファイル: QuickIO.cs プロジェクト: nagyist/QuickIO
 /// <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));
 }
コード例 #2
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)
 {
     return(InternalQuickIO.RemoveAttribute(path, attribute));
 }