IVsColorizer.CloseColorizer Method

Releases any references held on a VsTextBuffer object.

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

Syntax

'宣言
Sub CloseColorizer
'使用
Dim instance As IVsColorizer

instance.CloseColorizer()
void CloseColorizer()
void CloseColorizer()
function 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.

Permissions

See Also

Reference

IVsColorizer Interface

IVsColorizer Members

Microsoft.VisualStudio.TextManager.Interop Namespace