Export (0) Print
Expand All

PropertyPage.OnApply Method

.NET Framework 3.5

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)

protected internal virtual bool OnApply()

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft