다음을 통해 공유


OleUndoEngine.UndoUnit Class

Definition

Extends support for encapsulating a unit of work that a user can undo.

protected: ref class OleUndoEngine::UndoUnit : System::ComponentModel::Design::UndoEngine::UndoUnit, Microsoft::VisualStudio::OLE::Interop::IOleParentUndoUnit
protected class OleUndoEngine.UndoUnit : System.ComponentModel.Design.UndoEngine.UndoUnit, Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit
Protected Class OleUndoEngine.UndoUnit
Inherits UndoEngine.UndoUnit
Implements IOleParentUndoUnit
Inheritance
OleUndoEngine.UndoUnit
Implements

Constructors

OleUndoEngine.UndoUnit(UndoEngine, String)

Initializes a new instance of the OleUndoEngine.UndoUnit class.

Explicit Interface Implementations

IOleParentUndoUnit.Add(IOleUndoUnit)

Adds an undo unit to the parent collection.

IOleParentUndoUnit.Close(IOleParentUndoUnit, Int32)

Closes the specified parent undo unit.

IOleParentUndoUnit.Do(IOleUndoManager)

Performs the undo operation.

IOleParentUndoUnit.FindUnit(IOleUndoUnit)

Searches for the specified unit in the child undo unit hierarchy.

IOleParentUndoUnit.GetDescription(String)

Gets the description of the undo unit.

IOleParentUndoUnit.GetParentState(UInt32)

Gets the state of the top-level parent undo unit.

IOleParentUndoUnit.GetUnitType(Guid, Int32)

Gets the type of the undo unit.

IOleParentUndoUnit.OnNextAdd()

Notifies the last undo unit in the collection that a new unit has been added.

IOleParentUndoUnit.Open(IOleParentUndoUnit)

Opens an undo unit.

IOleUndoUnit.Do(IOleUndoManager)

Performs the undo operation.

IOleUndoUnit.GetDescription(String)

Gets the description of the undo unit.

IOleUndoUnit.GetUnitType(Guid, Int32)

Gets the type of the undo unit.

IOleUndoUnit.OnNextAdd()

Notifies the last undo unit in the collection that a new unit has been added.

Applies to