## FileInfo::set_IsReadOnly method


Sätter eller tar bort attributet ReadOnly på filen.

```cpp
void System::IO::FileInfo::set_IsReadOnly(bool value)
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| värde | bool | Sant om ReadOnly-attributet ska sättas, falskt om ReadOnly-attributet ska tas bort |

## Se även

* Class [FileInfo](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
