IBridgeSetReadOnlyAttribute Method
ファイルやディレクトリの読み取り専用属性を設定します。
Namespace: Kasasagi.DavServerAssembly: Kasasagi.DavServer (in Kasasagi.DavServer.dll) Version: 1.0.1+092e35ef41f9c66a6f060a166bd1527db0f2dce3
bool SetReadOnlyAttribute(
string path,
bool value
)
Function SetReadOnlyAttribute (
path As String,
value As Boolean
) As Boolean
bool SetReadOnlyAttribute(
String^ path,
bool value
)
abstract SetReadOnlyAttribute :
path : string *
value : bool -> bool
- path String
- 設定対象の絶対パスが渡されます。
- value Boolean
-
ファイルやディレクトリを読み取り専用にする場合はtrue、
そうでない場合はfalseを指定します。
Boolean
属性値の設定に成功した場合はtrue、失敗した場合はfalseを返します。