Export (0) Print
Expand All

IVsLinkedUndoTransactionManager Interface

Implements the linked undo stack feature.

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

[InterfaceTypeAttribute()]
[GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface IVsLinkedUndoTransactionManager

The IVsLinkedUndoTransactionManager type exposes the following members.

  NameDescription
Public methodAbortLinkedUndoAborts a linked undo transaction.
Public methodCloseLinkedUndoSuccessfully closes a linked undo transaction.
Public methodCountOpenTransactionsReturns the nesting level of the linked undo transactions.
Public methodIsAbortedDetermines if the linked undo transaction is aborted.
Public methodIsStrictDetermines if the linked undo transaction is strict.
Public methodOpenLinkedUndoOpens a linked undo transaction parent unit.
Top

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.

Show:
© 2014 Microsoft