VsTextManagerClass.UnregisterBuffer Method
Unregisters a buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Public Overridable Function UnregisterBuffer ( _
pBuffer As IVsTextBuffer _
) As Integer
'使用
Dim instance As VsTextManagerClass
Dim pBuffer As IVsTextBuffer
Dim returnValue As Integer
returnValue = instance.UnregisterBuffer(pBuffer)
public virtual int UnregisterBuffer(
IVsTextBuffer pBuffer
)
public:
virtual int UnregisterBuffer(
[InAttribute] IVsTextBuffer^ pBuffer
)
public function UnregisterBuffer(
pBuffer : IVsTextBuffer
) : int
Parameters
pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer[in] Pointer to the IVsTextBuffer interface that is being unregistered.
Return Value
Type: System.Int32
Implements
IVsTextManager.UnregisterBuffer(IVsTextBuffer)
Permissions
- 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.