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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.