UndoEngine.DiscardUndoUnit(UndoEngine+UndoUnit) Metoda

Definicja

Odrzuca element UndoEngine.UndoUnit.

protected:
 virtual void DiscardUndoUnit(System::ComponentModel::Design::UndoEngine::UndoUnit ^ unit);
protected virtual void DiscardUndoUnit (System.ComponentModel.Design.UndoEngine.UndoUnit unit);
abstract member DiscardUndoUnit : System.ComponentModel.Design.UndoEngine.UndoUnit -> unit
override this.DiscardUndoUnit : System.ComponentModel.Design.UndoEngine.UndoUnit -> unit
Protected Overridable Sub DiscardUndoUnit (unit As UndoEngine.UndoUnit)

Parametry

unit
UndoEngine.UndoUnit

Jednostka do odrzucenia.

Uwagi

Przed wywołaniem DiscardUndoUnit metody jednostka cofania jest zamknięta, a następnie cofnięta.

Dotyczy

Zobacz też