Colorizer.Suspend Method
Called to suspend use of the colorizer.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Overridable Sub Suspend
'Usage
Dim instance As Colorizer
instance.Suspend()
public virtual void Suspend()
public:
virtual void Suspend()
public function 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
- 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.