Udostępnij za pośrednictwem


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

'Declaration
Sub CloseColorizer
void CloseColorizer()
void CloseColorizer()
abstract CloseColorizer : unit -> unit 
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.

.NET Framework Security

See Also

Reference

IVsColorizer Interface

Microsoft.VisualStudio.TextManager.Interop Namespace