xtd::io::file_system_info & xtd::io::file_system_info::permissions | ( | xtd::io::file_permissions | value | ) |
Sets the permissions for the current file or directory.
value | xtd::io::file_permissions of the current xtd::io::file_system_info. |
xtd::io::file_not_found_exception | The specified file doesn't exist. Only thrown when setting the property value. |
xtd::io::directory_not_found_exception | The specified path is invalid. For example, it's on an unmapped drive. Only thrown when setting the property value. |
xtd::io::path_too_long_exception | The specified path, file name, or both exceed the system-defined maximum length. |
xtd::argument_exception | The specified path, file name, or both exceed the system-defined maximum length. |
xtd::io::io_exception | xtd::io::file_system_info::refresh() cannot initialize the data. |
xtd::platform_not_supported_exception | The opration is not supported on the current operating system. |