Partager via


IVsColorizer2.BeginColorization Method

Definition

Starts or resume colorization operations.

public:
 int BeginColorization();
public:
 int BeginColorization();
int BeginColorization();
public int BeginColorization ();
abstract member BeginColorization : unit -> int
Public Function BeginColorization () As Integer

Returns

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();  

Applies to