RenamingDelegatingContext.ProviderWithRenamedContext 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ProviderWithRenamedContext(Class, Context, String) | |
ProviderWithRenamedContext(Class, Context, String, Boolean) |
ProviderWithRenamedContext(Class, Context, String)
[Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;)Landroid/content/ContentProvider;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })]
public static Java.Lang.Object? ProviderWithRenamedContext (Java.Lang.Class? contentProvider, Android.Content.Context? c, string? filePrefix);
[<Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;)Landroid/content/ContentProvider;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })>]
static member ProviderWithRenamedContext : Java.Lang.Class * Android.Content.Context * string -> Java.Lang.Object
參數
- contentProvider
- Class
- c
- Context
- filePrefix
- String
傳回
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ProviderWithRenamedContext(Class, Context, String, Boolean)
[Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;Z)Landroid/content/ContentProvider;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })]
public static Java.Lang.Object? ProviderWithRenamedContext (Java.Lang.Class? contentProvider, Android.Content.Context? c, string? filePrefix, bool allowAccessToExistingFilesAndDbs);
[<Android.Runtime.Register("providerWithRenamedContext", "(Ljava/lang/Class;Landroid/content/Context;Ljava/lang/String;Z)Landroid/content/ContentProvider;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.content.ContentProvider" })>]
static member ProviderWithRenamedContext : Java.Lang.Class * Android.Content.Context * string * bool -> Java.Lang.Object
參數
- contentProvider
- Class
- c
- Context
- filePrefix
- String
- allowAccessToExistingFilesAndDbs
- Boolean
傳回
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。