Share via


Source.GetColorizer Method

Gets the colorizer associated with this Source object.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Function GetColorizer As Colorizer
'Usage
Dim instance As Source 
Dim returnValue As Colorizer 

returnValue = instance.GetColorizer()
public Colorizer GetColorizer()
public:
Colorizer^ GetColorizer()
public function GetColorizer() : Colorizer

Return Value

Type: Microsoft.VisualStudio.Package.Colorizer
The Colorizer object that was passed to the Source class constructor.

Remarks

The colorizer is used to provide support for syntax highlighting. This method allows other objects to access the same Colorizer object associated with this Source object.

.NET Framework Security

See Also

Reference

Source Class

Source Members

Microsoft.VisualStudio.Package Namespace