Share via


IVsToolbarTrayHost Interface

Definition

Manages items in the tool bar tray.

public interface class IVsToolbarTrayHost
public interface class IVsToolbarTrayHost
__interface IVsToolbarTrayHost
[System.Runtime.InteropServices.Guid("2B3321EE-693F-4B46-9536-E44DAD8C6E60")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolbarTrayHost
[<System.Runtime.InteropServices.Guid("2B3321EE-693F-4B46-9536-E44DAD8C6E60")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolbarTrayHost = interface
Public Interface IVsToolbarTrayHost
Attributes

Remarks

This interface is returned from the CreateToolbarTray method.

Methods

AddToolbar(Guid, UInt32)

Adds a tool bar to the tray.

Close()

Closes the tool bar tray.

GetToolbarTray(IVsUIElement)

Returns the UI element that represents the toolbar tray.

Applies to