Op Englesch liesen

Deelen iwwer


IVsDropdownBarManager Interface

Definition

Manages drop-down bars in code windows.

C++/CX
public interface class IVsDropdownBarManager
Attributes

Remarks

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.

Methods

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.

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022