Freigeben über


IVsToolWindowToolbarHost2 Interface

Implemented by the Visual Studio shell, and can be retrieved from the IVsToolWindowToolbarHost that is returned as an out parameter from one of the IVsUIShellX.SetupToolbar() methods. It is used by tool window clients that want to have a toolbar within their window and need to provide a specific drop target for intercepting drag and drop operations over the toolbar area.

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

Syntax

'Declaration
<GuidAttribute("2EFC69A8-5E06-436D-88D5-F099353356DA")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsToolWindowToolbarHost2
[GuidAttribute("2EFC69A8-5E06-436D-88D5-F099353356DA")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolWindowToolbarHost2
[GuidAttribute(L"2EFC69A8-5E06-436D-88D5-F099353356DA")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsToolWindowToolbarHost2
[<GuidAttribute("2EFC69A8-5E06-436D-88D5-F099353356DA")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolWindowToolbarHost2 =  interface end
public interface IVsToolWindowToolbarHost2

The IVsToolWindowToolbarHost2 type exposes the following members.

Methods

  Name Description
Public method AddToolbar2 Extends the AddToolbar method to allow specifying the drop target to handle drop operations over the toolbar area.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace