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

'宣言
Sub Detach
'使用
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.

Permissions

See Also

Reference

IVsButtonBar Interface

IVsButtonBar Members

Microsoft.VisualStudio.TextManager.Interop Namespace