xtd::io::file_permissions xtd::io::file_system_info::permissions | ( | ) | const |
Gets the permissions for the current file or directory.
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. |