UndoManager.DiscardUndoStacks(Boolean) 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.
Throws away undo/redo stacks. If the bool is true, then in addition to discarding the undostack the routine will mark the stack as clean.
public:
void DiscardUndoStacks(bool markAsClean);
public void DiscardUndoStacks (bool markAsClean);
member this.DiscardUndoStacks : bool -> unit
Public Sub DiscardUndoStacks (markAsClean As Boolean)
Parameters
- markAsClean
- Boolean