void xtd::io::file_info::is_read_only | ( | bool | value | ) |
Sets a value that determines if the current file is read only.
value | true if the current file is read only; otherwise, false. |
xtd::io::file_not_found_exception | The file described by the current xtd::io::file_info object could not be found. |
xtd::io::io_exception | An I/O error occurred while opening the file. |
xtd::unauthorized_access_exception | This operation is not supported on the current platform. -or- The caller does not have the required permission. |
xtd::argument_exception | The user does not have write permission, but attempted to set this property to false. |