IClassifier.ClassificationChanged Event
Ocurs when the classification of a span of text has changed.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Dichiarazione
Event ClassificationChanged As EventHandler(Of ClassificationChangedEventArgs)
event EventHandler<ClassificationChangedEventArgs> ClassificationChanged
event EventHandler<ClassificationChangedEventArgs^>^ ClassificationChanged {
void add (EventHandler<ClassificationChangedEventArgs^>^ value);
void remove (EventHandler<ClassificationChangedEventArgs^>^ value);
}
abstract ClassificationChanged : IEvent<EventHandler<ClassificationChangedEventArgs>,
ClassificationChangedEventArgs>
JScript does not support events.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.