다음을 통해 공유


Source.GetColorizer Method

Gets the colorizer associated with this Source object.

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

Syntax

‘선언
Public Function GetColorizer As Colorizer
‘사용 방법
Dim instance As Source
Dim returnValue As Colorizer

returnValue = instance.GetColorizer()
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

Source Members

Microsoft.VisualStudio.Package Namespace