Udostępnij za pośrednictwem


Metoda OleUndoEngine.AddUndoUnit —

Ten element członkowski zastępuje element UndoEngine.AddUndoUnit(UndoEngine.UndoUnit), a dokładniejsza dokumentacja może być dostępna w tym temacie.

Dodaje jednostkę Cofnij Menedżera jednostki Cofnij.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell.Design
Zestaw:  Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)

Składnia

'Deklaracja
Protected Overrides Sub AddUndoUnit ( _
    unit As UndoEngine.UndoUnit _
)
protected override void AddUndoUnit(
    UndoEngine.UndoUnit unit
)

Parametry

Uwagi

Metoda ta mapuje to OleUndoEngine.UndoUnit do IOleUndoUnit , a następnie dodaje jednostki Cofnij, aby IOleUndoManager.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

OleUndoEngine Klasa

Przestrzeń nazw Microsoft.VisualStudio.Shell.Design

UndoEngine.UndoUnit

OleUndoEngine

OnInterveningUnitBlockingLinkedUndo

IVsLinkedUndoClient

OleUndoEngine

CreateUndoUnit

DiscardUndoUnit

Dispose

Inne zasoby

Dostarczanie Cofnij wsparcie dla projektantów