Condividi tramite


IVsUndoTrackingEvents Interface

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.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("31024DD7-30E5-4C91-821D-218BDEADA18B")> _
Public Interface IVsUndoTrackingEvents
[InterfaceTypeAttribute()]
[GuidAttribute("31024DD7-30E5-4C91-821D-218BDEADA18B")]
public interface IVsUndoTrackingEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"31024DD7-30E5-4C91-821D-218BDEADA18B")]
public interface class IVsUndoTrackingEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("31024DD7-30E5-4C91-821D-218BDEADA18B")>]
type IVsUndoTrackingEvents =  interface end
public interface IVsUndoTrackingEvents

The IVsUndoTrackingEvents type exposes the following members.

Methods

  Name Description
Public method OnReturnToCleanState Informs the client that the document has returned to a clean state.

Top

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace