共用方式為


ITextBuffer.ContentTypeChanged Event

Occurs whenever the IContentType has been changed.

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

Syntax

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

.NET Framework Security

See Also

Reference

ITextBuffer Interface

Microsoft.VisualStudio.Text Namespace