Share via


IVsDropdownBar.Detach Method

Breaks the link between the dropdown 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 IVsDropdownBar

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

Remarks

Detach is called by RemoveDropdownBar. This function breaks the link between the dropdown bar and its client. Do not call this function unless you're bypassing IVsDropdownBarManager and are in the process of removing the dropdown bar from the window yourself.

COM Signature

From textmgr.idl:

HRESULT IVsDropdownBar::Detach();

.NET Framework Security

See Also

Reference

IVsDropdownBar Interface

IVsDropdownBar Members

Microsoft.VisualStudio.TextManager.Interop Namespace