ITextDocument.DirtyStateChanged Event

Occurs when the value of IsDirty changes.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Event DirtyStateChanged As EventHandler
event EventHandler DirtyStateChanged
event EventHandler^ DirtyStateChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract DirtyStateChanged : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Remarks

You may not call UpdateDirtyState in order to change the IsDirty property while handling this event.

.NET Framework Security

See Also

Reference

ITextDocument Interface

Microsoft.VisualStudio.Text Namespace