다음을 통해 공유


ITextUndoHistory.Undo(Int32) Method

Definition

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

public:
 void Undo(int count);
public:
 void Undo(int count);
void Undo(int count);
public void Undo (int count);
abstract member Undo : int -> unit
Public Sub Undo (count As Integer)

Parameters

count
Int32

The number of undo operations to perform.

Remarks

At the end of the operation, the specified number of visible transactions are undone. Therefore, the actual number of transactions undone might be more than this number if there are hidden transactions above or below the visible ones. After the last visible transaction is undone, the hidden transactions left on top the stack are undone as well, until a visible or linked transaction is encountered, or the stack is completely emptied.

Applies to