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)

public interface IVsToolWindowToolbarHost2

System_CAPS_pubmethodAddToolbar2(VSTWT_LOCATION, Guid, UInt32, IDropTarget)

Extends the AddToolbar method to allow specifying the drop target to handle drop operations over the toolbar area.

Return to top