Udostępnij za pośrednictwem


OleUndoEngine Class

Definition

Provides a default implementation of undo management for designers.

public ref class OleUndoEngine : System::ComponentModel::Design::UndoEngine, Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoClient
public class OleUndoEngine : System.ComponentModel.Design.UndoEngine, Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoClient
type OleUndoEngine = class
    inherit UndoEngine
    interface IVsLinkedUndoClient
Public Class OleUndoEngine
Inherits UndoEngine
Implements IVsLinkedUndoClient
Inheritance
OleUndoEngine
Implements

Constructors

OleUndoEngine(IServiceProvider)

Initializes a new instance of OleUndoEngine.

Methods

AddUndoUnit(UndoEngine+UndoUnit)

Adds the undo unit to the undo unit manager.

CreateUndoUnit(String, Boolean)

Creates a new undo unit.

DiscardUndoUnit(UndoEngine+UndoUnit)

Closes this unit if it is a parent undo unit.

Dispose(Boolean)

Disposes the resources of this object.

Explicit Interface Implementations

IVsLinkedUndoClient.OnInterveningUnitBlockingLinkedUndo()

Indicates that the undo manager is blocking another undo manager from executing a linked action.

Applies to