次の方法で共有


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

'宣言
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.Int32
    The 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

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace