IClassifierProvider Interface

Definition

Creates a classifier for a given ITextBuffer.

C++/CX
public interface class IClassifierProvider

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(IClassifierProvider))] Component exporters must add at least one content type attribute to specify the content types for which the component is valid.

Methods

GetClassifier(ITextBuffer)

Gets a classifier for the given text buffer.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022