IVsDropdownBarManager Interface
Manages drop-down bars in code windows.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | AddDropdownBar(Int32, IVsDropdownBarClient) | Allows you to add a set of combo dropdowns to a code window. This call wraps the call to IVsDropdownBar::Attach. If there is already a dropdown bar attached to the code window it returns E_UNEXPECTED. In general you should call GetDropdownBar first before calling AddDropdownBar to make sure there isn't already a dropdown bar associated with the given code window. |
![]() | GetDropdownBar(IVsDropdownBar) | Returns the dropdown bar associated with the code window, if any. If there is one, it returns S_OK and sends back a pointer to it. If there isn't one, it returns null. |
![]() | RemoveDropdownBar() | Removes a drop-down bar from a code window. |
IVsDropdownBarManager is used to create and destroy the drop-down bar for a given code window. IVsDropdownBarManager can also be used to determine whether a drop-down bar is already attached.
Notes to Implementers:
You can obtain IVsDropdownBarManager from IVsCodeWindow.
