LanguageService::GetColorizer Method (IVsTextLines^, IVsColorizer^)
Visual Studio 2015
Returns the colorizer associated with a Source object that contains the given IVsTextLines object.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
public: virtual int GetColorizer( IVsTextLines^ buffer, [OutAttribute] IVsColorizer^% result ) sealed
Parameters
- buffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] An IVsTextLines object representing the buffer of text to colorize.
- result
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsColorizer^
[out] An IVsColorizer object representing the colorizer.
The base method returns the existing Source object that contains the IVsTextLines object or creates a new Source object for the IVsTextLines object, and then asks the Source object for its colorizer. The Colorizer class implements the IVsColorizer interface.
Show: