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)
Syntax
'Declaration
Sub Redo ( _
count As Integer _
)
void Redo(
int count
)
void Redo(
int count
)
abstract Redo :
count:int -> unit
function Redo(
count : int
)
Parameters
count
Type: System.Int32The number of redo operations to perform.
Remarks
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.