OleUndoEngine.UndoUnit 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
Public method OleUndoEngine.UndoUnit Initializes a new instance of the OleUndoEngine.UndoUnit class.

Top

Methods

  Name Description
Public method Close Receives a call from the undo engine to close this unit. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentAdded Receives a call from the UndoEngine in response to a ComponentAdded event. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentAdding Receives a call from the UndoEngine in response to a ComponentAdding event. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentChanged Receives a call from the UndoEngine in response to a ComponentChanged event. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentChanging Receives a call from the UndoEngine in response to a ComponentChanging event. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentRemoved Receives a call from the UndoEngine in response to a ComponentRemoved event. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentRemoving Receives a call from the UndoEngine in response to a ComponentRemoving event. (Inherited from UndoEngine.UndoUnit.)
Public method ComponentRename Receives a call from the UndoEngine in response to a ComponentRename event. (Inherited from UndoEngine.UndoUnit.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetService Gets an instance of the requested service. (Inherited from UndoEngine.UndoUnit.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current name of the unit. (Inherited from UndoEngine.UndoUnit.)
Public method Undo Performs an undo or redo action. (Inherited from UndoEngine.UndoUnit.)
Protected method UndoCore Called by Undo to perform an undo action. (Inherited from UndoEngine.UndoUnit.)

Top

Properties

  Name Description
Public property IsEmpty Gets a value indicating whether the UndoEngine.UndoUnit contains no events. (Inherited from UndoEngine.UndoUnit.)
Public property Name Gets the name of the UndoEngine.UndoUnit. (Inherited from UndoEngine.UndoUnit.)
Protected property UndoEngine Gets the parent UndoEngine. (Inherited from UndoEngine.UndoUnit.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IOleParentUndoUnit.Add
Explicit interface implemetationPrivate method IOleParentUndoUnit.Close
Explicit interface implemetationPrivate method IOleParentUndoUnit.Do
Explicit interface implemetationPrivate method IOleUndoUnit.Do
Explicit interface implemetationPrivate method IOleParentUndoUnit.FindUnit
Explicit interface implemetationPrivate method IOleParentUndoUnit.GetDescription
Explicit interface implemetationPrivate method IOleUndoUnit.GetDescription
Explicit interface implemetationPrivate method IOleParentUndoUnit.GetParentState
Explicit interface implemetationPrivate method IOleParentUndoUnit.GetUnitType
Explicit interface implemetationPrivate method IOleUndoUnit.GetUnitType
Explicit interface implemetationPrivate method IOleParentUndoUnit.OnNextAdd
Explicit interface implemetationPrivate method IOleUndoUnit.OnNextAdd
Explicit interface implemetationPrivate method IOleParentUndoUnit.Open

Top

See Also

Reference

OleUndoEngine.UndoUnit Class

Microsoft.VisualStudio.Shell.Design Namespace