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