QueryTerminateEventArgs.ShouldPromptUser Property
Indicates whether the component should prompt the user if it can't decide if it is okay to terminate, or if it decides that it can't (to alert the user why).
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Property ShouldPromptUser As Boolean
Get
Private Set
'Utilisation
Dim instance As QueryTerminateEventArgs
Dim value As Boolean
value = instance.ShouldPromptUser
public bool ShouldPromptUser { get; private set; }
public:
property bool ShouldPromptUser {
bool get ();
private: void set (bool value);
}
member ShouldPromptUser : bool with get, private set
function get ShouldPromptUser () : boolean
private function set ShouldPromptUser (value : boolean)
Property Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
QueryTerminateEventArgs Members
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace