Compartir a través de


Colorizer.Suspend Method

Called to suspend use of the colorizer.

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

Syntax

'Declaración
Public Overridable Sub Suspend
public virtual void Suspend()

Remarks

This method must be matched by a later call to the Resume method.

The base method increments an internal count that can be examined by a call to the GetStateMaintenanceFlag method.

This method is used when building a compound action such as a code snippet expansion that can be undone but for which colorization information is unnecessary.

.NET Framework Security

See Also

Reference

Colorizer Class

Microsoft.VisualStudio.Package Namespace