Application.AllowQuit Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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
Available since 1.1
Return to top
Show: