IVsLinkCapableUndoManager Interface

 

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

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

[InterfaceTypeAttribute(1)]
[GuidAttribute("F747D466-83CA-41D6-A0E8-3F78283D01E7")]
public interface IVsLinkCapableUndoManager

NameDescription
System_CAPS_pubmethodAdviseLinkedUndoClient(IVsLinkedUndoClient)

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

System_CAPS_pubmethodUnadviseLinkedUndoClient()

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

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

System_CAPS_noteNote

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

Return to top
Show: