System::IO::FileInfo::set_IsReadOnly 方法

FileInfo::set_IsReadOnly method

设置或取消文件的只读属性。

void System::IO::FileInfo::set_IsReadOnly(bool value)
ParameterType描述
valuebool如果需要设置 ReadOnly 属性则为 true,如果需要取消 ReadOnly 属性则为 false

另见