Spread Windows Forms 12.0 Product Documentation
Undo(Int32) Method


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
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)
public bool Undo( 
   int count
)

Parameters

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

Return Value

Boolean: true if successful; false otherwise
See Also

Reference

UndoManager Class
UndoManager Members
Overload List