IClassifier Interface

Assigns IClassificationType objects to the text in a ITextBuffer.

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

public interface IClassifier

The IClassifier type exposes the following members.

  NameDescription
Public methodGetClassificationSpansGets all the ClassificationSpan objects that overlap the given range of text.
Top

  NameDescription
Public eventClassificationChangedOcurs when the classification of a span of text has changed.
Top

For more information about classification, see the section "Extending Classification Types and Classification Formats" in Editor Extension Points.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft