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)
Syntax
'Declaration
Public Function Undo ( _
ByRef times As Object _
) As Boolean
public 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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.