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
Remarks
This method calls the abstract method ApplyChanges if the page is dirty.
Permissions
- 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.