共用方式為


IEditorOptions.OptionChanged Event

Occurs when any option changes.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
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 does not support events.

Remarks

Options that change in the global scope cause this event to be raised if they are also applicable to this scope.

.NET Framework Security

See Also

Reference

IEditorOptions Interface

Microsoft.VisualStudio.Text.Editor Namespace