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
'Декларация
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.