SpreadsheetGear 2012
Execute Method (Command)






Called by the command manager to execute this command.
Syntax
'Declaration
 
Protected MustOverride Function Execute() As System.Boolean
'Usage
 
Dim instance As Command
Dim value As System.Boolean
 
value = instance.Execute()
protected abstract System.bool Execute()
protected function Execute(): System.Boolean; abstract; 
protected __abstract function Execute() : System.boolean;
protected: abstract System.bool Execute(); 
protected:
abstract System.bool Execute(); 
Remarks

Commands are owned by 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

Send Feedback