Export (0) Print
Expand All

Application.AllowQuit Property

Gets a value indicating whether the caller can quit this application.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

'Declaration
Public Shared ReadOnly Property AllowQuit As Boolean

Property Value

Type: System.Boolean
true if the caller can quit this application; otherwise, false.

This property returns false if it is called from a Control being hosted within a Web browser. Thus, the Control cannot quit the Application.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft