UndoEngine.DiscardUndoUnit Method (UndoEngine.UndoUnit)

 

Discards an UndoEngine.UndoUnit.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

protected virtual void DiscardUndoUnit(
	UndoEngine.UndoUnit unit
)

Parameters

unit
Type: System.ComponentModel.Design.UndoEngine.UndoUnit

The unit to discard.

Before the DiscardUndoUnit method is called, the undo unit is closed and then undone.

.NET Framework
Available since 2.0
Return to top
Show: