file class : IsReadOnly getter
Description
Gets a value that indicates whether the file is read only.
Syntax
fileInstance.IsReadOnly
Arguments
None
Return value
| Class | Description |
| bool | Value that indicates whether the file is read only. |
Sample code
| 1: | file f = new file("c:\somewhere..."); |
| 2: | bool readOnly = f.IsReadOnly; |
Notes
It's a wrapper of the System.IO.FileInfo.IsReadOnly property.
If the file is read only, return true. Otherwise, return false.


