SpreadsheetGear 2017
Undo Method (CommandManager)






SpreadsheetGear.Commands Namespace > CommandManager Class : Undo Method
Undo the last executed command by calling the command's Undo method.
Syntax
'Declaration
 
Public Overridable Function Undo() As System.Boolean
'Usage
 
Dim instance As CommandManager
Dim value As System.Boolean
 
value = instance.Undo()
public virtual System.bool Undo()
public function Undo(): System.Boolean; virtual; 
public function Undo() : System.boolean;
public: virtual System.bool Undo(); 
public:
virtual System.bool Undo(); 

Return Value

true if the command is successfully undone, false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandManager Class
CommandManager Members
Undo Method
Execute Method
Redo Method