Partager via


IVsDropdownBarManager Interface

Definition

Manages drop-down bars in code windows.

public interface class IVsDropdownBarManager
public interface class IVsDropdownBarManager
__interface IVsDropdownBarManager
[System.Runtime.InteropServices.Guid("5CCB1170-6527-4D88-BE3E-198F0EF5538D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsDropdownBarManager
[System.Runtime.InteropServices.Guid("5CCB1170-6527-4D88-BE3E-198F0EF5538D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsDropdownBarManager
[<System.Runtime.InteropServices.Guid("5CCB1170-6527-4D88-BE3E-198F0EF5538D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsDropdownBarManager = interface
[<System.Runtime.InteropServices.Guid("5CCB1170-6527-4D88-BE3E-198F0EF5538D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsDropdownBarManager = interface
Public Interface 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