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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.