Partager via


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

'Déclaration
<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
Public method AbortLinkedUndo Aborts a linked undo transaction.
Public method CloseLinkedUndo Successfully closes a linked undo transaction.
Public method CountOpenTransactions Returns the nesting level of the linked undo transactions.
Public method IsAborted Determines if the linked undo transaction is aborted.
Public method IsStrict Determines if the linked undo transaction is strict.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace