次の方法で共有


IVsLinkedUndoClient Interface

Indicates that one undo manager is blocking another undo manager from executing a linked action.

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

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("33452684-FAB0-4F76-B4E9-19EE0B96B4AD")> _
Public Interface IVsLinkedUndoClient
[InterfaceTypeAttribute()]
[GuidAttribute("33452684-FAB0-4F76-B4E9-19EE0B96B4AD")]
public interface IVsLinkedUndoClient
[InterfaceTypeAttribute()]
[GuidAttribute(L"33452684-FAB0-4F76-B4E9-19EE0B96B4AD")]
public interface class IVsLinkedUndoClient
[<InterfaceTypeAttribute()>]
[<GuidAttribute("33452684-FAB0-4F76-B4E9-19EE0B96B4AD")>]
type IVsLinkedUndoClient =  interface end
public interface IVsLinkedUndoClient

The IVsLinkedUndoClient type exposes the following members.

Methods

  Name Description
Public method OnInterveningUnitBlockingLinkedUndo Indicates that the undo manager is blocking another undo manager from executing a linked action.

Top

Remarks

Implement IVsLinkedUndoClient to receive notification when your undo manager is blocking another undo manager from executing a linked action. When hooking your undo manager into the environment, call AdviseLinkedUndoClient and pass in a pointer to your IVsLinkedUndoClient implementation. For more information, see How to: Implement Undo Management.

Notes to Implementers

Implement to receive notification when your undo manager has a non-linked action on the top of its undo or redo stack that is blocking another undo manager from executing a linked action.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace