IClassifierProvider::GetClassifier Method (ITextBuffer^)

 

Gets a classifier for the given text buffer.

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

IClassifier^ GetClassifier(
	ITextBuffer^ textBuffer
)

Parameters

textBuffer
Type: Microsoft.VisualStudio.Text::ITextBuffer^

The ITextBuffer to classify.

Return Value

Type: Microsoft.VisualStudio.Text.Classification::IClassifier^

A classifier for the text buffer, or null if the provider cannot provide one in its current state.

Return to top
Show: