Share via


UndoManager.DiscardUndoStacks(Boolean) Method

Definition

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

Applies to