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

See Also

Reference

IDTToolsOptionsPage Interface

EnvDTE Namespace