IDTToolsOptionsPage.OnOK Method
Occurs when a user clicks OK in a custom Tools Options page.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub OnOK
'Usage
Dim instance As IDTToolsOptionsPage
instance.OnOK()
void OnOK()
void OnOK()
function OnOK()
Remarks
When the OnOK method's host interface is implemented, OnOK acts like an event that occurs when a user clicks OK in a custom Tools Options page. OnOK occurs before OnAfterCreated is called.
.NET Framework Security
- 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.