SettingsPage.Apply Method

Applies the changes made to the page if it is dirty.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function Apply As Integer
'使用
Dim instance As SettingsPage
Dim returnValue As Integer

returnValue = instance.Apply()
public virtual int Apply()
public:
virtual int Apply()
public function Apply() : int

Return Value

Type: System.Int32

If the method succeeds, S_OK, otherwise an error code.

Implements

IPropertyPage.Apply()

Remarks

This method calls the abstract method ApplyChanges if the page is dirty.

Permissions

See Also

Reference

SettingsPage Class

SettingsPage Members

Microsoft.VisualStudio.Package Namespace