语言

PrintService.AttachBaseContext(Context) 方法

定义

设置此 ContextWrapper 的基本上下文。

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

参数

base
Context

此包装器的新基上下文。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于