Compartilhar via


IVsUndoTrackingEvents Interface

Definition

An IOleUndoManager client can expose this interface to be informed when the undo stack has returned to an unmodified state (that is, no data-changing modifications exist) by the undo manager.

public interface class IVsUndoTrackingEvents
public interface class IVsUndoTrackingEvents
__interface IVsUndoTrackingEvents
[System.Runtime.InteropServices.Guid("31024DD7-30E5-4C91-821D-218BDEADA18B")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUndoTrackingEvents
[System.Runtime.InteropServices.Guid("31024DD7-30E5-4C91-821D-218BDEADA18B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUndoTrackingEvents
[<System.Runtime.InteropServices.Guid("31024DD7-30E5-4C91-821D-218BDEADA18B")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUndoTrackingEvents = interface
[<System.Runtime.InteropServices.Guid("31024DD7-30E5-4C91-821D-218BDEADA18B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUndoTrackingEvents = interface
Public Interface IVsUndoTrackingEvents
Attributes

Remarks

This interface is used to remove the asterisk that indicates that a document is not in the clean state.

Notes to Implementers

Implement this interface to have the undo manager inform you of when the undo stack returns to an unmodified state.

Methods

OnReturnToCleanState()

Informs the client that the document has returned to a clean state.

Applies to