共用方式為


IVsColorizer.CloseColorizer Method

Definition

Releases any references held on a VsTextBuffer object.

public:
 void CloseColorizer();
public:
 void CloseColorizer();
void CloseColorizer();
public void CloseColorizer ();
abstract member CloseColorizer : unit -> unit
Public Sub CloseColorizer ()

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsColorizer::CloseColorizer();  

The text buffer calls this method before releasing the colorizer object so that the colorizer object can release any references it holds on the text buffer, thereby breaking the circular reference chain.

Applies to