SpreadsheetGear 2017
Undo Method (Command)






SpreadsheetGear.Commands Namespace > Command Class : Undo Method
Called by the command manager to undo this command.
Syntax
'Declaration
 
Protected Overridable Function Undo() As System.Boolean
'Usage
 
Dim instance As Command
Dim value As System.Boolean
 
value = instance.Undo()
protected virtual System.bool Undo()
protected function Undo(): System.Boolean; virtual; 
protected function Undo() : System.boolean;
protected: virtual System.bool Undo(); 
protected:
virtual System.bool Undo(); 
Remarks

Commands are owned by Command.CommandManager and will be disposed of after being executed if they are not undoable. Undoable commands will be disposed of when they are no longer undoable or redoable.

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

Command Class
Command Members