SpreadsheetGear 2010
Execute Method
See Also  Send Feedback
SpreadsheetGear.Windows.Forms Namespace > CommandManager Class : Execute Method

command
Specifies the command to be executed.
Executes the specified command by calling the command's Execute method.

Syntax

Visual Basic (Declaration) 
Public Overridable Function Execute( _
   ByVal command As Command _
) As Boolean
C# 
public virtual bool Execute( 
   Command command
)

Parameters

command
Specifies the command to be executed.

Return Value

true if the command is successfully executed, false otherwise.

Remarks

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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.