Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / Command Class / Undo Method


In This Topic
    Undo Method (Command)
    In This Topic
    Undoes this command.
    Syntax
    'Declaration
     
    
    Public Overridable Function Undo( _
       Optional ByVal fireEvent As Boolean _
    ) As CommandResult
    'Usage
     
    
    Dim instance As Command
    Dim fireEvent As Boolean
    Dim value As CommandResult
     
    value = instance.Undo(fireEvent)
    public virtual CommandResult Undo( 
       bool fireEvent
    )

    Parameters

    fireEvent

    Return Value

    true if the command is successfully executed, false otherwise.
    Remarks
    If the command is no longer belong to the undo or redo queue, it'll be disposed.
    See Also