PropertyPage.QueryCancel Method ()

 

Indicates that the user wants to cancel the property sheet. The default implementation allows the Cancel operation.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected internal virtual bool QueryCancel()
public protected:
virtual bool QueryCancel()
abstract QueryCancel : unit -> bool
override QueryCancel : unit -> bool
Protected Friend Overridable Function QueryCancel As Boolean

Return Value

Type: System.Boolean

The return value indicates whether the property page can be closed. The default implementation of this method allows the operation to proceed. The owner of the page can override it and block the request by returning false.

See Also

PropertyPage Class
Microsoft.ManagementConsole Namespace

Return to top