Source.GetColorizer Method
Gets the colorizer associated with this Source object.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.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)
Syntax
'Declaración
Public Function GetColorizer As Colorizer
public Colorizer GetColorizer()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.