ResourcesProvider.LoadFromSplit(Context, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讀取與應用程式一同安裝的分割裝置,該分割可能未被載入,因為應用程式要求隔離分割載入。
[Android.Runtime.Register("loadFromSplit", "(Landroid/content/Context;Ljava/lang/String;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)]
public static Android.Content.Res.Loader.ResourcesProvider LoadFromSplit(Android.Content.Context context, string splitName);
[<Android.Runtime.Register("loadFromSplit", "(Landroid/content/Context;Ljava/lang/String;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)>]
static member LoadFromSplit : Android.Content.Context * string -> Android.Content.Res.Loader.ResourcesProvider
參數
- context
- Context
包含分割的套件上下文
- splitName
- String
分拆到載入的名稱
傳回
一個新的資源提供者,從命名的分割中載入資源。
- 屬性
備註
讀取與應用程式一同安裝的分割裝置,該分割可能未被載入,因為應用程式要求隔離分割載入。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。