Clears actions from the redo stack before and including the specified action.
[Visual Basic] Sub DiscardRedoItems( _ ByVal action As IActionUnit _ ) [C#] void DiscardRedoItems( IActionUnit action ); [C++] void DiscardRedoItems( IActionUnit* action ) = 0; [JScript] function DiscardRedoItems( action : IActionUnit );
If action is a null reference (Nothing) then all actions are removed. If action is not found in the stack, an ArgumentException is thrown.
IUndoService Interface | IUndoService Members | System.ComponentModel.Design Namespace