Spread Windows Forms 12.0 Product Documentation
Execute Method (CommandManager)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Commands Namespace > CommandManager Class : Execute Method
The command to be executed.
Executes the specified command.
Syntax
'Declaration
 
Public Function Execute( _
   ByVal command As Command _
) As CommandResult
'Usage
 
Dim instance As CommandManager
Dim command As Command
Dim value As CommandResult
 
value = instance.Execute(command)
public CommandResult Execute( 
   Command command
)

Parameters

command
The command to be executed.

Return Value

An CommandResult struct which contains information about the execution of action.
Remarks
If the command is no longer belong to the undo or redo list, it'll be disposed.
See Also

Reference

CommandManager Class
CommandManager Members