public RemoveAttributes ( string path, FileAttributes attributes ) : void | ||
path | string | |
attributes | FileAttributes | |
return | void |
public void RemoveAttributes(string path,
FileAttributes attributes)
{
FileAttributes existing = GetAttributes(path);
existing &= ~attributes;
SetAttributes(path, existing);
}