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
void Detach()
void Detach()
abstract Detach : unit -> unit 
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 button bar has to the client.

.NET Framework Security

See Also

Reference

IVsButtonBar Interface

Microsoft.VisualStudio.TextManager.Interop Namespace