IVsToolbarTrayHost 接口

管理在工具栏磁盘的项目。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.10.0(在 Microsoft.VisualStudio.Shell.Interop.10.0.dll 中)

语法

声明
<GuidAttribute("2B3321EE-693F-4B46-9536-E44DAD8C6E60")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsToolbarTrayHost
[GuidAttribute("2B3321EE-693F-4B46-9536-E44DAD8C6E60")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolbarTrayHost

IVsToolbarTrayHost 类型公开以下成员。

方法

  名称 说明
公共方法 AddToolbar 添加一个工具栏到磁盘。
公共方法 Close 关闭工具栏磁盘。
公共方法 GetToolbarTray 返回表示工具栏磁盘的 UI 元素。

页首

备注

此接口从 CreateToolbarTray 方法返回。

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间