Partager via


IVsLinkCapableUndoManager Interface

Definition

Manages implicit linked undo capability by calling methods which advise that focus must be put on the owner of the given undo client.

public interface class IVsLinkCapableUndoManager
public interface class IVsLinkCapableUndoManager
__interface IVsLinkCapableUndoManager
[System.Runtime.InteropServices.Guid("F747D466-83CA-41D6-A0E8-3F78283D01E7")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLinkCapableUndoManager
[System.Runtime.InteropServices.Guid("F747D466-83CA-41D6-A0E8-3F78283D01E7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLinkCapableUndoManager
[<System.Runtime.InteropServices.Guid("F747D466-83CA-41D6-A0E8-3F78283D01E7")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLinkCapableUndoManager = interface
[<System.Runtime.InteropServices.Guid("F747D466-83CA-41D6-A0E8-3F78283D01E7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLinkCapableUndoManager = interface
Public Interface IVsLinkCapableUndoManager
Attributes

Remarks

Implicit linked undos will only work for undo managers where AdviseLinkedUndoClient has been called.

Note

These methods do not call AddRef/Release on pClient. Therefore you must call UnadviseLinkedUndoClient before you release your reference to the undo manager.

Methods

AdviseLinkedUndoClient(IVsLinkedUndoClient)

Specifies that the given client is the linked undo client for this manager.

UnadviseLinkedUndoClient()

Specifies that there is no linked undo client for this manager.

Applies to