ITextUndoHistory.Redo Method

Performs the specified number of redo operation and places the transactions on the undo stack.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)


Sub Redo ( _
    count As Integer _
void Redo(
    int count
void Redo(
    int count
abstract Redo : 
        count:int -> unit 
function Redo(
    count : int


  • count
    Type: System.Int32
    The number of redo operations to perform.


After the last visible transaction is redone, the hidden transactions left on top of the stack are redone as well, until a visible or linked transaction is encountered, or the stack is completely emptied.

At the end of the operation, the specified number of visible transactions are redone. Therefore, the actual number of transactions redone might be more than this number, if there are hidden transactions above or below the visible ones.

.NET Framework Security

See Also


ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace