FlushUndo;
The FlushUndo method clears the list of all the operations executed by the user. After the method is called, all the undo and redo operations will be deleted.
See also:
IPivot