PropertyPage.OnApply Method ()

 

Indicates that the user has clicked the Apply button and wants all changes to take effect. The OnApply method is invoked on every property sheet when the Apply button is clicked.

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

Syntax

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

Return Value

Type: System.Boolean

The return value indicates whether the property page can be closed. The default implementations 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
Microsoft.ManagementConsole Namespace

Return to top