SpreadsheetGear 2017
CreateCommandCopy Method (CommandManager)

SpreadsheetGear.Commands Namespace > CommandManager Class : CreateCommandCopy Method
Specifies the range which this command will affect.
Creates an instance of the default copy command.
Public Overridable Function CreateCommandCopy( _
   ByVal range As IRange _
) As Command
Dim instance As CommandManager
Dim range As IRange
Dim value As Command
value = instance.CreateCommandCopy(range)
public virtual Command CreateCommandCopy( 
   IRange range
public function CreateCommandCopy( 
    range: IRange
): Command; virtual; 
public function CreateCommandCopy( 
   range : IRange
) : Command;
public: virtual Command* CreateCommandCopy( 
   IRange* range
virtual Command^ CreateCommandCopy( 
   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