Freigeben über


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)

Syntax

'Declaration
Public Interface IClassifier
public interface IClassifier
public interface class IClassifier
type IClassifier =  interface end
public interface IClassifier

The IClassifier type exposes the following members.

Methods

  Name Description
Public method GetClassificationSpans Gets all the ClassificationSpan objects that overlap the given range of text.

Top

Events

  Name Description
Public event ClassificationChanged Ocurs when the classification of a span of text has changed.

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Text.Classification Namespace