ContentProvider.WritePermission 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Please use SetWritePermission() instead. This setter is not really public in Android API and will vanish in the future versions.
回傳讀寫存取本內容提供者所需的權限名稱。 -或- 更改內容提供者中讀寫資料所需的權限。
public string? WritePermission { [Android.Runtime.Register("getWritePermission", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setWritePermission", "(Ljava/lang/String;)V", "")] [System.Obsolete("Please use SetWritePermission() instead. This setter is not really public in Android API and will vanish in the future versions.")] set; }
[<get: Android.Runtime.Register("getWritePermission", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setWritePermission", "(Ljava/lang/String;)V", "")>]
[<set: System.Obsolete("Please use SetWritePermission() instead. This setter is not really public in Android API and will vanish in the future versions.")>]
member this.WritePermission : string with get, set
屬性值
此值可能是零值。
- 屬性
備註
財產取得者文件:
回傳讀寫存取本內容提供者所需的權限名稱。 此方法可從多個執行緒呼叫,詳見 《程序與執行緒》一文。
Java 文件 android.content.ContentProvider.getWritePermission()。
屬性設定文件:
更改內容提供者中讀寫資料所需的權限。 這通常是根據服務成立時的清單資訊自動設定的。
Java 文件 android.content.ContentProvider.setWritePermission(java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。