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.
Syntax
'Declaration
 
Public Overridable Function CreateCommandClearContents( _
   ByVal range As IRange _
) As Command
'Usage
 
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
) 
public:
virtual Command^ CreateCommandClearContents( 
   IRange^ range
) 

Parameters

range
Specifies the range which this command will affect.
Remarks
Override this method to provide a custom implementation of this command.
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

CommandManager Class
CommandManager Members