Search
Command Members
Constructors Methods
 


Represents an action that modifies the workbook and whose effects can be undone.

The following tables list the members exposed by the Command type.

 Protected Constructors

  Name Description

Command

Initializes a new instance of the Command class.

 Protected Methods

  Name Description

execute

Carries out an action that changes the workbook in some way.

getHasEffect

Gets a value indicating whether the command does anything.

getWorkbook

Gets the Workbook modified by this Command object.

redo

Repeats an action that has been undone.

undo

Undoes an action, restoring the workbook to the state it was in before carrying out the action.

 See Also