다음을 통해 공유


IVsToolbarTrayHost Interface

Manages items in the tool bar tray.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<GuidAttribute("2B3321EE-693F-4B46-9536-E44DAD8C6E60")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsToolbarTrayHost
[GuidAttribute("2B3321EE-693F-4B46-9536-E44DAD8C6E60")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolbarTrayHost
[GuidAttribute(L"2B3321EE-693F-4B46-9536-E44DAD8C6E60")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsToolbarTrayHost
[<GuidAttribute("2B3321EE-693F-4B46-9536-E44DAD8C6E60")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolbarTrayHost =  interface end
public interface IVsToolbarTrayHost

The IVsToolbarTrayHost type exposes the following members.

Methods

  Name Description
Public method AddToolbar Adds a tool bar to the tray.
Public method Close Closes the tool bar tray.
Public method GetToolbarTray Returns the UI element that represents the toolbar tray.

Top

Remarks

This interface is returned from the CreateToolbarTray method.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace