Condividi tramite


IVsLinkedUndoTransactionManager Interface

Definition

Implements the linked undo stack feature.

public interface class IVsLinkedUndoTransactionManager
public interface class IVsLinkedUndoTransactionManager
__interface IVsLinkedUndoTransactionManager
[System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLinkedUndoTransactionManager
[System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLinkedUndoTransactionManager
[<System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLinkedUndoTransactionManager = interface
[<System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLinkedUndoTransactionManager = interface
Public Interface IVsLinkedUndoTransactionManager
Derived
Attributes

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.

Methods

AbortLinkedUndo()

Aborts a linked undo transaction.

CloseLinkedUndo()

Successfully closes a linked undo transaction.

CountOpenTransactions(Int32)

Returns the nesting level of the linked undo transactions.

IsAborted(Int32)

Determines if the linked undo transaction is aborted.

IsStrict(Int32)

Determines if the linked undo transaction is strict.

OpenLinkedUndo(UInt32, String)

Opens a linked undo transaction parent unit.

Applies to