Partager via


Colorizer.CloseColorizer Method

Called when the colorizer is disposed of.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.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)

Syntax

'Declaration
Public Overridable Sub CloseColorizer
public virtual void CloseColorizer()
public:
virtual void CloseColorizer()
abstract CloseColorizer : unit -> unit  
override CloseColorizer : unit -> unit
public function CloseColorizer()

Implements

IVsColorizer.CloseColorizer()

Remarks

This method performs whatever cleanup is necessary before the object is deleted. If you override the base method, you must call the base method after you have completed your own clean up tasks.

This method is an implementation of CloseColorizer.

The base method sets the reference to the IScanner object to a null value and clears an internal cache.

.NET Framework Security

See Also

Reference

Colorizer Class

Microsoft.VisualStudio.Package Namespace