ITextDocument.DirtyStateChanged 事件

IsDirty 的值更改时发生。

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)

语法

声明
Event DirtyStateChanged As EventHandler
event EventHandler DirtyStateChanged
event EventHandler^ DirtyStateChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract DirtyStateChanged : IEvent<EventHandler,
    EventArgs>
JScript 不支持事件。

备注

您不能调用 UpdateDirtyState 以便更改 IsDirty 属性,当处理此事件时。

.NET Framework 安全性

请参阅

参考

ITextDocument 接口

Microsoft.VisualStudio.Text 命名空间