Used to manage the Toolbox.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")> _
Public Interface IVsToolbox
[InterfaceTypeAttribute()]
[GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")]
public interface IVsToolbox
[InterfaceTypeAttribute()]
[GuidAttribute(L"70E643E2-1673-4764-8A39-63CB1AEE0DC9")]
public interface class IVsToolbox
[<InterfaceTypeAttribute()>]
[<GuidAttribute("70E643E2-1673-4764-8A39-63CB1AEE0DC9")>]
type IVsToolbox =  interface end
public interface IVsToolbox
The IVsToolbox type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddActiveXItem | Allows ActiveX controls to be programmatically added to the Toolbox. | 
| .gif) | AddItem | Adds a data object to the specified tab in the Toolbox. | 
| .gif) | AddItemFromFile | Allows files to be programmatically added to the Toolbox. | 
| .gif) | AddTab | Adds a new tab to the Toolbox. | 
| .gif) | AddTabEx | Adds a new tab to the Toolbox and specifies how the tabs are viewed. | 
| .gif) | DataUsed | Called by a designer to inform the Toolbox that the item has been pasted onto the form. | 
| .gif) | EnumItems | Enumerates items on a given tab in the Toolbox, or all items in the Toolbox. | 
| .gif) | EnumTabs | Enumerates through tabs in the Toolbox. | 
| .gif) | GetData | Returns the data object for the selected item in the Toolbox. | 
| .gif) | GetFrame | Returns the window frame for the Toolbox. | 
| .gif) | GetTab | Returns the name of the selected tab. | 
| .gif) | GetTabView | Returns the tab view for the specified tab. | 
| .gif) | IsCurrentUser | Determines whether the specified Toolbox user is the current user. | 
| .gif) | RegisterDataProvider | Registers a Toolbox data provider. | 
| .gif) | RemoveItem | Removes an item from the Toolbox. | 
| .gif) | RemoveTab | Removes a tab from the Toolbox. | 
| .gif) | SelectItem | Programmatically selects an item. | 
| .gif) | SelectTab | Programmatically selects the referenced Toolbox tab. | 
| .gif) | SetCursor | Sets the drop cursor for the current, enabled Toolbox item. | 
| .gif) | SetItemInfo | Sets information for the referenced item. | 
| .gif) | SetTabView | Sets the type of view for the specified tab. | 
| .gif) | UnregisterDataProvider | Unregisters the specified data provider. | 
| .gif) | UpdateToolboxUI | Forces a redraw of the Toolbox UI. | 
Top
Remarks
See illustrations of the implementation and/or calling of this interface in the Figures Edit.
Additional features, useful in persisting toolboxes, can be found under the IVsToolbox3 interface.
Notes to Implementers
Notes to Callers