IVsLinkedUndoTransactionManager Interface
Implements the linked undo stack feature.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaración
<InterfaceTypeAttribute()> _
<GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")> _
Public Interface IVsLinkedUndoTransactionManager
[InterfaceTypeAttribute()]
[GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface IVsLinkedUndoTransactionManager
[InterfaceTypeAttribute()]
[GuidAttribute(L"F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface class IVsLinkedUndoTransactionManager
[<InterfaceTypeAttribute()>]
[<GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")>]
type IVsLinkedUndoTransactionManager = interface end
public interface IVsLinkedUndoTransactionManager
The IVsLinkedUndoTransactionManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
AbortLinkedUndo | Aborts a linked undo transaction. | |
CloseLinkedUndo | Successfully closes a linked undo transaction. | |
CountOpenTransactions | Returns the nesting level of the linked undo transactions. | |
IsAborted | Determines if the linked undo transaction is aborted. | |
IsStrict | Determines if the linked undo transaction is strict. | |
OpenLinkedUndo | Opens a linked undo transaction parent unit. |
Top
Remarks
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.