Share via


IVsButtonBar.Detach Method

Breaks the link between a button bar and its client.

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

Syntax

'Declaration
Sub Detach
'Usage
Dim instance As IVsButtonBar

instance.Detach()
void Detach()
void Detach()
function Detach()

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsButtonBar::Detach();

Detach is called by RemoveButtonBar. Detach breaks the link between the Buttonbar and its client, dropping the reference that the Buttonbar has to the client.

.NET Framework Security

See Also

Reference

IVsButtonBar Interface

IVsButtonBar Members

Microsoft.VisualStudio.TextManager.Interop Namespace