Window.Context 属性

定义

返回运行此窗口策略的上下文,用于检索资源和其他信息。

public Android.Content.Context? Context { [Android.Runtime.Register("getContext", "()Landroid/content/Context;", "")] get; }
[<get: Android.Runtime.Register("getContext", "()Landroid/content/Context;", "")>]
member this.Context : Android.Content.Context

属性值

上下文提供给构造函数的上下文。

属性

注解

返回运行此窗口策略的上下文,用于检索资源和其他信息。

适用于 . 的 android.view.Window.getContext()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于