Пример #1
0
        public static void SetAttributes(string path,
                                         FileAttributes fileAttributes)
        {
            MonoIOError error;

            Path.Validate(path);

            if (!MonoIO.SetFileAttributes(path, fileAttributes, out error))
            {
                throw MonoIO.GetException(path, error);
            }
        }