SpreadsheetGear 2012
Dispose Method (Command)






Disposes of any resources held by this Command.
Syntax
'Declaration
 
Public Overridable Sub Dispose() 
'Usage
 
Dim instance As Command
 
instance.Dispose()
public virtual void Dispose()
public procedure Dispose(); virtual; 
public function Dispose();
public: virtual void Dispose(); 
public:
virtual void Dispose(); 
Remarks

Any overrides of this method must call the base class implementation of Command.Dispose.

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

Send Feedback