VsDropdownBarClass.Detach Method
Breaks the link between the drop-down bar and its client.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Sub Detach
public virtual void Detach()
public:
virtual void Detach()
abstract Detach : unit -> unit
override Detach : unit -> unit
public function Detach()
Implements
Remarks
If the method succeeds, it returns S_OK; otherwise, it returns an error code.
.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.