ContentProvider.AttachInfo(Context, ProviderInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
After being instantiated, this is called to tell the content provider about itself.
[Android.Runtime.Register("attachInfo", "(Landroid/content/Context;Landroid/content/pm/ProviderInfo;)V", "GetAttachInfo_Landroid_content_Context_Landroid_content_pm_ProviderInfo_Handler")]
public virtual void AttachInfo (Android.Content.Context? context, Android.Content.PM.ProviderInfo? info);
[<Android.Runtime.Register("attachInfo", "(Landroid/content/Context;Landroid/content/pm/ProviderInfo;)V", "GetAttachInfo_Landroid_content_Context_Landroid_content_pm_ProviderInfo_Handler")>]
abstract member AttachInfo : Android.Content.Context * Android.Content.PM.ProviderInfo -> unit
override this.AttachInfo : Android.Content.Context * Android.Content.PM.ProviderInfo -> unit
Parameters
- context
- Context
The context this provider is running in
- info
- ProviderInfo
Registered information about this content provider
- Attributes
Remarks
After being instantiated, this is called to tell the content provider about itself.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.