다음을 통해 공유


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
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