Delen via


UndoManager.AddUndoableAction Method

Add an undoable action to the undo stack. This will clear the redo stack.

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

Syntax

'Declaration
Public Sub AddUndoableAction ( _
    transaction As Transaction _
)
public void AddUndoableAction(
    Transaction transaction
)
public:
void AddUndoableAction(
    Transaction^ transaction
)
member AddUndoableAction : 
        transaction:Transaction -> unit
public function AddUndoableAction(
    transaction : Transaction
)

Parameters

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling Namespace