IVsToolWindowToolbarHost2 Interface

Definition

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.

public interface class IVsToolWindowToolbarHost2
public interface class IVsToolWindowToolbarHost2
__interface IVsToolWindowToolbarHost2
public interface IVsToolWindowToolbarHost2
[System.Runtime.InteropServices.Guid("2EFC69A8-5E06-436D-88D5-F099353356DA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolWindowToolbarHost2
type IVsToolWindowToolbarHost2 = interface
[<System.Runtime.InteropServices.Guid("2EFC69A8-5E06-436D-88D5-F099353356DA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolWindowToolbarHost2 = interface
Public Interface IVsToolWindowToolbarHost2
Attributes

Methods

AddToolbar2(VSTWT_LOCATION, Guid, UInt32, IDropTarget)

Extends the AddToolbar(VSTWT_LOCATION, Guid, UInt32) method to allow specifying the drop target to handle drop operations over the toolbar area.

Applies to