VsTextPackageClass::UnregisterBuffer Method (IVsTextBuffer^)

 

Unregisters a buffer.

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

public:
virtual int UnregisterBuffer(
	IVsTextBuffer^ pBuffer
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextBuffer^

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

Return Value

Type: System::Int32

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

Return to top
Show: