IVsLinkedUndoTransactionManager Interface


Implements the linked undo stack feature.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public interface IVsLinkedUndoTransactionManager


Aborts a linked undo transaction.


Successfully closes a linked undo transaction.


Returns the nesting level of the linked undo transactions.


Determines if the linked undo transaction is aborted.


Determines if the linked undo transaction is strict.

System_CAPS_pubmethodOpenLinkedUndo(UInt32, String)

Opens a linked undo transaction parent unit.

A linked undo transaction is a set of undo action stacks grouped together into a set of linked undo stacks. For example, if you call OpenLinkedUndo on the text view or buffer, add other undo stacks to the linked transaction, perform some editing followed by undo actions, and then call CloseLinkedUndo, all the linked undo units on top of their stacks get rolled back as one.

Notes to Callers:

Call IVsLinkedUndoTransactionManager to start linked undo stack. QueryService SVsLinkedUndoManager to get a pointer to IVsLinkedUndoTransactionManager.

Return to top