This topic has not yet been rated - Rate this topic

IVsLinkCapableUndoManager Interface

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

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

These calls manage an event interface to be told when we need to put focus on the owner of the given undo manager. Implicit linked undos will only work for undo managers where AdviseLinkedUndoClient has been called.

NoteNote

These interfaces do not call AddRef/Release on pClient. Therefore you must call UnadviseLinkedUndoClient before you release your reference to the undo manager, or the undo manager will assert.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ