System::IO::FileInfo::set_IsReadOnly method

FileInfo::set_IsReadOnly method

Sets or unsets the ReadOnly attribute on the file.

void System::IO::FileInfo::set_IsReadOnly(bool value)
ParameterTypeDescription
valueboolTrue if the ReadOnly attribute has to be set, false if the ReadOnly attribute has to be unset

See Also