IVsDropdownBarManager Methods

 

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

NameDescription
System_CAPS_pubmethodAddDropdownBar(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.

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

System_CAPS_pubmethodRemoveDropdownBar()

Removes a drop-down bar from a code window.

Return to top
Show: