言語

ContextWrapper.AttachBaseContext(Context) メソッド

定義

この ContextWrapper の基本コンテキストを設定します。

[Android.Runtime.Register("attachBaseContext", "(Landroid/content/Context;)V", "GetAttachBaseContext_Landroid_content_Context_Handler")]
protected virtual void AttachBaseContext(Android.Content.Context? base);
[<Android.Runtime.Register("attachBaseContext", "(Landroid/content/Context;)V", "GetAttachBaseContext_Landroid_content_Context_Handler")>]
abstract member AttachBaseContext : Android.Content.Context -> unit
override this.AttachBaseContext : Android.Content.Context -> unit

パラメーター

base
Context

このラッパーの新しいベース コンテキスト。

属性

注釈

この ContextWrapper の基本コンテキストを設定します。 その後、すべての呼び出しが基本コンテキストに委任されます。 ベース コンテキストが既に設定されている場合は、IllegalStateException をスローします。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象