IVsColorizer2.BeginColorization Method
Starts or resume colorization operations.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function BeginColorization As Integer
int BeginColorization()
int BeginColorization()
abstract BeginColorization : unit -> int
function BeginColorization() : int
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The Visual Studio environment calls this method when it has finished any operations, such as automatic code insertion and formatting, which might conflict with colorization.
The implementation must start or resume operations of the language services IVsColorizer implementation.
COM Signature
From textmgr2.idl:
void IVsColorizer2::BeginColorization();
.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.