Occurs when a user clicks the Cancel
button.
| [Visual Basic .NET] |
|---|
Public Sub OnCancel()
|
| [C#] |
|---|
public void OnCancel();
|
| [Managed C++] |
|---|
public: void OnCancel();
|
| [Java] |
|---|
public onCancel();
|
| [Unmanaged C++] |
|---|
public: HRESULT OnCancel();
|
OnCancel method is called by the hosting
environment when user clicks on "Cancel" button on the
"Preferences" property sheet.