Freigeben über


VsTextManagerClass.UnregisterBuffer(IVsTextBuffer) Method

Definition

Unregisters a buffer.

public:
 virtual int UnregisterBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::UnregisterBuffer;
public:
 virtual int UnregisterBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer);
public:
 virtual int UnregisterBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::UnregisterBuffer;
 virtual int UnregisterBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer);
public virtual int UnregisterBuffer (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer);
abstract member UnregisterBuffer : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer -> int
override this.UnregisterBuffer : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer -> int
Public Overridable Function UnregisterBuffer (pBuffer As IVsTextBuffer) As Integer

Parameters

pBuffer
IVsTextBuffer

[in] Pointer to the IVsTextBuffer interface that is being unregistered.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to