Export (0) Print
Expand All

My.Application.ApplicationContext Property

Gets the ApplicationContext object for the current thread of a Windows Forms application.

' Usage
Dim value As System.Windows.Forms.ApplicationContext = My.Application.ApplicationContext
' Declaration
Public ReadOnly Property ApplicationContext As System.Windows.Forms.ApplicationContext

This property returns the ApplicationContext object for the current thread. That object contains contextual information about the thread.

This is an advanced member; it does not appear in IntelliSense unless you click the All tab.

Namespace: Microsoft.VisualBasic.ApplicationServices

Class: WindowsFormsApplicationBase

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

Availability by Project Type

Project type

Available

Windows Application

Yes

Class Library

No

Console Application

No

Windows Control Library

No

Web Control Library

No

Windows Service

No

Web Site

No

No permissions are required.

Community Additions

ADD
Show:
© 2015 Microsoft