UndoEngine::DiscardUndoUnit Method (UndoEngine::UndoUnit^)
.NET Framework (current version)
Discards an UndoEngine::UndoUnit.
Assembly: System.Design (in System.Design.dll)
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
Available since 2.0
Show: