IClassifierAggregatorService::GetClassifier Method (ITextBuffer^)
Visual Studio 2015
Gets the cached IClassifier for the given ITextBuffer.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- textBuffer
-
Type:
Microsoft.VisualStudio.Text::ITextBuffer^
The ITextBuffer with which to retrieve/create the IClassifier.
| Exception | Condition |
|---|---|
| ArgumentNullException | textBuffer is null. |
If there is no existing classifier, an IClassifier will be created and cached with the given ITextBuffer.
Show: