Compartilhar via


IVsChangeClusterEvents Interface

Definition

Bracket a series of changes from an undo manager.

public interface class IVsChangeClusterEvents
public interface class IVsChangeClusterEvents
__interface IVsChangeClusterEvents
[System.Runtime.InteropServices.Guid("E55C4E80-A01C-47E8-9E94-D664B94DF6CF")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsChangeClusterEvents
[System.Runtime.InteropServices.Guid("E55C4E80-A01C-47E8-9E94-D664B94DF6CF")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsChangeClusterEvents
[<System.Runtime.InteropServices.Guid("E55C4E80-A01C-47E8-9E94-D664B94DF6CF")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsChangeClusterEvents = interface
[<System.Runtime.InteropServices.Guid("E55C4E80-A01C-47E8-9E94-D664B94DF6CF")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsChangeClusterEvents = interface
Public Interface IVsChangeClusterEvents
Attributes

Remarks

IVsChangeClusterEvents is used to bracket a series of changes from an undo manager. A cluster is a series of edits that is grouped into an undo action. To obtain an IVsChangeClusterEvents, QueryInterface an undo manager for IConnectionPointContainer.

Note

IVsChangeClusterEvents should be used only in rare circumstances. Listening to this event set imposes nontrivial overhead for every modification made to a text buffer. IVsPreliminaryTextChangeCommitEvents (which is built on top of this event) should be able to address the needs of most clients without needing to listen to IVsChangeClusterEvents.

Methods

OnChangeClusterClosing(UInt32)

Called when a change event is closing in the undo manager.

OnChangeClusterOpening(UInt32)

Called when a change event is opening in the undo manager.

Applies to