OleUndoEngine.UndoUnit Members
Include Protected Members
Include Inherited Members
Extends support for encapsulating a unit of work that a user can undo.
The OleUndoEngine.UndoUnit type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the OleUndoEngine.UndoUnit class.
Top
Methods
Name
Description
Receives a call from the undo engine to close this unit. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentAdded event. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentAdding event. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentChanged event. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentChanging event. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentRemoved event. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentRemoving event. (Inherited from UndoEngine.UndoUnit.)
Receives a call from the UndoEngine in response to a ComponentRename event. (Inherited from UndoEngine.UndoUnit.)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets an instance of the requested service. (Inherited from UndoEngine.UndoUnit.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a String that represents the current name of the unit. (Inherited from UndoEngine.UndoUnit.)
Performs an undo or redo action. (Inherited from UndoEngine.UndoUnit.)
Called by Undo to perform an undo action. (Inherited from UndoEngine.UndoUnit.)
Top
Properties
Name
Description
Gets a value indicating whether the UndoEngine.UndoUnit contains no events. (Inherited from UndoEngine.UndoUnit.)
Gets the name of the UndoEngine.UndoUnit. (Inherited from UndoEngine.UndoUnit.)
Gets the parent UndoEngine. (Inherited from UndoEngine.UndoUnit.)
Top
Explicit Interface Implementations
Name
Description
Adds an undo unit to the parent collection.
Closes the specified parent undo unit.
Performs the undo operation.
Performs the undo operation.
Searches for the specified unit in the child undo unit hierarchy.
IOleParentUndoUnit.GetDescription
Gets the description of the undo unit.
Gets the description of the undo unit.
IOleParentUndoUnit.GetParentState
Gets the state of the top-level parent undo unit.
IOleParentUndoUnit.GetUnitType
Gets the type of the undo unit.
Gets the type of the undo unit.
Notifies the last undo unit in the collection that a new unit has been added.
Notifies the last undo unit in the collection that a new unit has been added.
Opens an undo unit.
Top