다음을 통해 공유


Source.GetColorizer Method

Gets the colorizer associated with this Source object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Function GetColorizer As Colorizer
public Colorizer GetColorizer()
public:
Colorizer^ GetColorizer()
member GetColorizer : unit -> Colorizer
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

Microsoft.VisualStudio.Package Namespace