PackageInfo.Providers 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含應用程式中所有android.R.styleable#AndroidManifestProvider
<provider>標籤<>的陣列,若沒有標籤則為空。
[Android.Runtime.Register("providers")]
public System.Collections.Generic.IList<Android.Content.PM.ProviderInfo>? Providers { get; set; }
[<Android.Runtime.Register("providers")>]
member this.Providers : System.Collections.Generic.IList<Android.Content.PM.ProviderInfo> with get, set
屬性值
當需要提供者資訊或 null 沒有提供者資訊時,內容-提供者宣告會被回傳。
- 屬性
備註
包含應用程式中所有android.R.styleable#AndroidManifestProvider <provider>標籤<>的陣列,若沒有標籤則為空。 只有在 PackageManager#GET_PROVIDERS 標記被設定時才會填入。
Java 文件 android.content.pm.PackageInfo.providers。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。