Compartilhar via


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

'Declaration
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

See Also

Reference

IVsColorizer2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace