ITextUndoHistory.Undo(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.