共用方式為


IVsColorizer2.EndColorization Method

Suspends or ends colorization operations.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function EndColorization As Integer
int EndColorization()
int EndColorization()
abstract EndColorization : unit -> int 
function EndColorization() : 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 prior to beginning any operations, such as automatic code insertion and formatting, which might conflict with colorization.

The implementation must suspend operations of the language services IVsColorizer implementation.

COM Signature

From textmgr2.idl:

void IVsColorizer2::EndColorization();

.NET Framework Security

See Also

Reference

IVsColorizer2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace