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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。