Edit

Share via


UndoEngine.AddUndoUnit(UndoEngine+UndoUnit) Method

Definition

Adds an UndoEngine.UndoUnit to the undo stack.

protected:
 abstract void AddUndoUnit(System::ComponentModel::Design::UndoEngine::UndoUnit ^ unit);
protected abstract void AddUndoUnit (System.ComponentModel.Design.UndoEngine.UndoUnit unit);
abstract member AddUndoUnit : System.ComponentModel.Design.UndoEngine.UndoUnit -> unit
Protected MustOverride Sub AddUndoUnit (unit As UndoEngine.UndoUnit)

Parameters

unit
UndoEngine.UndoUnit

The undo unit to add.

Remarks

Create the unit parameter by calling the CreateUndoUnit method.

Applies to

See also