Compartir a través de


UndoManager.Add Method

Adds an undo unit to the stack and updates the UI.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaración
Public Sub Add ( _
    undoUnit As IOleUndoUnit _
)
public void Add(
    IOleUndoUnit undoUnit
)
public:
void Add(
    IOleUndoUnit^ undoUnit
)
member Add : 
        undoUnit:IOleUndoUnit -> unit 
public function Add(
    undoUnit : IOleUndoUnit
)

Parameters

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling.Shell Namespace