Share via


ModuleDialogPage.CancelChanges Method

Definition

When overridden in a derived class, discards any pending changes for the current page.

protected:
 abstract void CancelChanges();
protected abstract void CancelChanges ();
abstract member CancelChanges : unit -> unit
Protected MustOverride Sub CancelChanges ()

Examples

The following example overrides the CancelChanges method.

protected override void CancelChanges() {

    InitializeUI();
    _hasChanges = false;

    Update();
} 

Applies to