Provides access to members that control Operations.
IOperation is a interface that supports creating custom undo and redo operations in either ArcMap, ArcCatalog or standalone applications. An operation is an action, or group of actions, that may be undone or redone.
By creating a class that implements IOperation, you can use the Do method to execute some action, and then the Undo method to reset the action from the Do method. The Redo method follows this paradigm to support any specialized actions needed for managing the re-application of the Do method.
By implementing your actions within the IOperation interface, you will automatically add them to the application's OperationStack.
| Description | ||
|---|---|---|
![]() |
CanRedo | Indicates if the operation can be redone. |
![]() |
CanUndo | Indicates if the operation can be undone. |
![]() |
Do | Performs the operation. |
![]() |
MenuString | The menu string. |
![]() |
Redo | Redoes the operation. |
![]() |
Undo | Undoes the operation. |
Verify the other classes that already implement IOperation, to avoid rewriting functions that already exist.