SpreadsheetGear 2017
CreateCommandClearContents Method (CommandManager)

SpreadsheetGear.Commands Namespace > CommandManager Class : CreateCommandClearContents Method
Specifies the range which this command will affect.
Creates an instance of the default clear contents command.
Public Overridable Function CreateCommandClearContents( _
   ByVal range As IRange _
) As Command
Dim instance As CommandManager
Dim range As IRange
Dim value As Command
value = instance.CreateCommandClearContents(range)
public virtual Command CreateCommandClearContents( 
   IRange range
public function CreateCommandClearContents( 
    range: IRange
): Command; virtual; 
public function CreateCommandClearContents( 
   range : IRange
) : Command;
public: virtual Command* CreateCommandClearContents( 
   IRange* range
virtual Command^ CreateCommandClearContents( 
   IRange^ range


Specifies the range which this command will affect.
Override this method to provide a custom implementation of this command.

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


CommandManager Class
CommandManager Members