This documentation is archived and is not being maintained.

DocumentBase.Undo Method

Undoes the last action or a sequence of actions, which are displayed in the Undo list. Returns true if the actions were successfully undone.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public bool Undo(
	ref Object times


Type: System.Object

The number of actions to be undone. The default is to undo the last action.

Return Value

Type: System.Boolean