Application.AllowQuit Proprietà

Definizione

Ottiene un valore che indica se il chiamante può chiudere l'applicazione.

public:
 static property bool AllowQuit { bool get(); };
public static bool AllowQuit { get; }
static member AllowQuit : bool
Public Shared ReadOnly Property AllowQuit As Boolean

Valore della proprietà

true se il chiamante può uscire da questa applicazione; in caso contrario, false.

Commenti

Questa proprietà restituisce false se viene chiamata da un Control oggetto ospitato in un Web browser. Pertanto, non Control può uscire da Application.

Si applica a