is_readonly


Description:

[ Version ( since = "3.18" ) ]
public bool is_readonly ()

Returns whether the file is read-only.

If the location is null, returns false.

To have an up-to-date value, you must first call check_file_on_disk.

Parameters:

this

a SourceFile.

Returns:

whether the file is read-only.