ModuleDialogPage.CancelChanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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();
}