IEditorOptions.OptionChanged 事件

当任何选项更改时发生。

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

语法

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

备注

适用于此范围的选项如果在全局范围内更改,则会导致引发此事件。

.NET Framework 安全性

请参阅

参考

IEditorOptions 接口

Microsoft.VisualStudio.Text.Editor 命名空间