This documentation is archived and is not being maintained.

IVsLinkedUndoTransactionManager Interface

Implements the linked undo stack feature.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")] 
[InterfaceTypeAttribute(1)] 
public interface IVsLinkedUndoTransactionManager
/** @attribute GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsLinkedUndoTransactionManager
GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031") 
InterfaceTypeAttribute(1) 
public interface IVsLinkedUndoTransactionManager

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. QueryServiceSVsLinkedUndoManager to get a pointer to IVsLinkedUndoTransactionManager.

Show: