Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / UndoRedoManager 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
     
    
    Protected Overloads Function Undo( _
       ByVal count As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As UndoRedoManager
    Dim count As Integer
    Dim value As Boolean
     
    value = instance.Undo(count)
    protected 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