共用方式為


ITextDocument.EncodingChanged Event

Occurs when the Encoding property changes.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
Event EncodingChanged As EventHandler(Of EncodingChangedEventArgs)
event EventHandler<EncodingChangedEventArgs> EncodingChanged
 event EventHandler<EncodingChangedEventArgs^>^ EncodingChanged {
    void add (EventHandler<EncodingChangedEventArgs^>^ value);
    void remove (EventHandler<EncodingChangedEventArgs^>^ value);
}
abstract EncodingChanged : IEvent<EventHandler<EncodingChangedEventArgs>,
    EncodingChangedEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

ITextDocument Interface

Microsoft.VisualStudio.Text Namespace