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
- 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.