Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.UndoRedo Namespace / UndoManager Class / Undo Method / Undo(Int32) Method
Number of actions to undo, or -1 to undo all actions


In This Topic
Undo(Int32) Method
In This Topic
Undoes the specified number of actions and adds them to the redo list.
Syntax
'Declaration
 
Public Overloads Function Undo( _
   ByVal count As Integer _
) As Boolean
 
'Usage
 
Dim instance As UndoManager
Dim count As Integer
Dim value As Boolean
 
value = instance.Undo(count)

Parameters

count
Number of actions to undo, or -1 to undo all actions

Return Value

Boolean: true if successful; false otherwise
See Also