| Visual Basic (Declaration) | |
|---|---|
Protected Sub PushUndo( _ ByVal action As UndoAction, _ ByVal clearRedo As Boolean _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As UndoRedoManager Dim action As UndoAction Dim clearRedo As Boolean instance.PushUndo(action, clearRedo) | |
| C# | |
|---|---|
protected void PushUndo( UndoAction action, bool clearRedo ) | |
Parameters
- action
- Undo action
- clearRedo
- True to clear the redo stack (action is being performed), false otherwise (action is being undone)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8