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.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
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
- 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.