Document.Undo Method (Object)

 

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 (in Microsoft.Office.Tools.Word.dll)

bool Undo(
	ref object Times
)

Parameters

Times
Type: System.Object

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

Return Value

Type: System.Boolean

true if the actions were successfully undone.

For information on optional parameters, see Optional Parameters in Office Solutions.

Return to top
Show: