次の方法で共有


IClassifier.ClassificationChanged Event

Definition

Occurs when the classification of a span of text has changed.

public:
 event EventHandler<Microsoft::VisualStudio::Text::Classification::ClassificationChangedEventArgs ^> ^ ClassificationChanged;
event EventHandler<Microsoft.VisualStudio.Text.Classification.ClassificationChangedEventArgs> ClassificationChanged;
member this.ClassificationChanged : EventHandler<Microsoft.VisualStudio.Text.Classification.ClassificationChangedEventArgs> 
Event ClassificationChanged As EventHandler(Of ClassificationChangedEventArgs) 

Event Type

Remarks

This event does not need to be raised for newly-inserted text. However, it should be raised if any text other than that which was actually inserted has been reclassified. It should also be raised if the deletion of text causes the remaining text to be reclassified.

Applies to