Condividi tramite


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
void Detach()
void Detach()
abstract Detach : unit -> unit
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

Microsoft.VisualStudio.TextManager.Interop Namespace