IDTToolsOptionsPage.OnCancel Method
Occurs if the user clicks the Cancel button in the Options dialog box.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub OnCancel
void OnCancel()
void OnCancel()
abstract OnCancel : unit -> unit
function OnCancel()
Remarks
When the OnCancel method's host interface is implemented, OnCancel acts as an event that occurs when a user clicks Cancel in the Options dialog box. This event occurs before OnBeginClose 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.