Share via


VsTextPackageClass.UnregisterBuffer Method

Unregisters a buffer.

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

Syntax

'Declaration
Public Overridable Function UnregisterBuffer ( _
    pBuffer As IVsTextBuffer _
) As Integer
public virtual int UnregisterBuffer(
    IVsTextBuffer pBuffer
)
public:
virtual int UnregisterBuffer(
    [InAttribute] IVsTextBuffer^ pBuffer
)
abstract UnregisterBuffer : 
        pBuffer:IVsTextBuffer -> int  
override UnregisterBuffer : 
        pBuffer:IVsTextBuffer -> int
public function UnregisterBuffer(
    pBuffer : IVsTextBuffer
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextManager.UnregisterBuffer(IVsTextBuffer)

.NET Framework Security

See Also

Reference

VsTextPackageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace