IVsTextManager.UnregisterBuffer Method (IVsTextBuffer)
Unregisters a buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
[in] Pointer to the IVsTextBuffer interface that is being unregistered.
All buffers must unregister with the text manager service to cancel receiving messages, such as change notifications.
To avoid circular reference problems, this method should be called from the buffer's implementation of the method Close, which is called from the running document table.