This documentation is archived and is not being maintained.

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
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

[GuidAttribute("2EFC69A8-5E06-436D-88D5-F099353356DA")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolWindowToolbarHost2

The IVsToolWindowToolbarHost2 type exposes the following members.

  NameDescription
Public methodAddToolbar2Extends the AddToolbar(VSTWT_LOCATION, Guid, UInt32) method to allow specifying the drop target to handle drop operations over the toolbar area.
Top
Show: