Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Redo() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Redo() |
C++/CLI | |
---|---|
public: virtual void Redo(); |
For an example, refer to Undo.
You can use the Redo method to reapply the last undo operation that was performed to this AnnAutomation. The CanRedo property enables you to determine whether the last operation that was undone can be reapplied to this AnnAutomation.
Use the UndoCapacity property to get or set the number of user actions that can be reversed using the Undo method, or re-applied using the Redo method. The default for the UndoCapacity property is 10 actions.
For more information, refer to Undoing Automation Operations.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family