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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.