Export (0) Print
Expand All
Cut
Run
Expand Minimize

OnCancel Method

Visual Studio .NET 2003

Occurs if the user clicks the Cancel button in the Tools Options dialog box.

[Visual Basic .NET]
Public Sub OnCancel() 
[Visual Basic 6]
Sub OnCancel() 
[C++]
HRESULT __stdcall OnCancel();
[C#]
void OnCancel();
[JScript .NET]
public function OnCancel()

Remarks

OnCancel is a method that, when its host interface is implemented, acts as an event that occurs when a user clicks the Cancel button in the Tools Options dialog box. This event occurs before OnBeginClose is called.

See Also

Applies To: IDTToolsOptionsPage Interface

Show:
© 2015 Microsoft