WindowsFormsApplicationBase.ApplicationContext 属性

定义

获取Windows 窗体应用程序的当前线程的 ApplicationContext 对象。

public:
 property System::Windows::Forms::ApplicationContext ^ ApplicationContext { System::Windows::Forms::ApplicationContext ^ get(); };
public System.Windows.Forms.ApplicationContext ApplicationContext { get; }
member this.ApplicationContext : System.Windows.Forms.ApplicationContext
Public ReadOnly Property ApplicationContext As ApplicationContext

属性值

有关当前线程的上下文信息。

注解

这是一个高级成员;除非单击“ 所有 ”选项卡,否则它不会出现在 IntelliSense 中。

按项目类型提供可用性

项目类型 可用的
Windows 窗体应用程序 Yes
类库
控制台应用程序
Windows 窗体控件库
Web 控件库
Windows 服务
网站

适用于

另请参阅