다음을 통해 공유


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

‘선언
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

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace