Udostępnij za pośrednictwem


IVsUndoRedoClusterWithCommitEvents Interface

Definition

Provides event handling for undo or redo cluster closure.

public interface class IVsUndoRedoClusterWithCommitEvents
public interface class IVsUndoRedoClusterWithCommitEvents
__interface IVsUndoRedoClusterWithCommitEvents
[System.Runtime.InteropServices.Guid("F98298D9-53C4-43DB-90D6-D1A3CA4B1849")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUndoRedoClusterWithCommitEvents
[System.Runtime.InteropServices.Guid("F98298D9-53C4-43DB-90D6-D1A3CA4B1849")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUndoRedoClusterWithCommitEvents
[<System.Runtime.InteropServices.Guid("F98298D9-53C4-43DB-90D6-D1A3CA4B1849")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUndoRedoClusterWithCommitEvents = interface
[<System.Runtime.InteropServices.Guid("F98298D9-53C4-43DB-90D6-D1A3CA4B1849")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUndoRedoClusterWithCommitEvents = interface
Public Interface IVsUndoRedoClusterWithCommitEvents
Attributes

Remarks

IVsUndoRedoClusterWithCommitEvents fires when an undo or redo cluster is closing, provided an intervening commit gesture occurred while it was open. Clients are explicitly forbidden from modifying the buffer in response to this event.

Note

This interface is for use only with Visual Basic.

Methods

OnUndoRedoClusterClosingWithCommitGesture(UInt32, TextSpan[])

Fires when an undo or redo cluster is closing.

Applies to