語言

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

屬性值

上下文 提供給建構者的上下文。

屬性

備註

回傳此視窗政策正在執行的上下文,用於擷取資源及其他資訊。

Java 文件 android.view.Window.getContext()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於