IVsToolbox2 Interface
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("08E728DC-9C45-4060-A243-B73443B7CA16")> _
Public Interface IVsToolbox2 _
Inherits IVsToolbox
[InterfaceTypeAttribute()]
[GuidAttribute("08E728DC-9C45-4060-A243-B73443B7CA16")]
public interface IVsToolbox2 : IVsToolbox
[InterfaceTypeAttribute()]
[GuidAttribute(L"08E728DC-9C45-4060-A243-B73443B7CA16")]
public interface class IVsToolbox2 : IVsToolbox
[<InterfaceTypeAttribute()>]
[<GuidAttribute("08E728DC-9C45-4060-A243-B73443B7CA16")>]
type IVsToolbox2 =
interface
interface IVsToolbox
end
public interface IVsToolbox2 extends IVsToolbox
The IVsToolbox2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddActiveXItem | Allows ActiveX controls to be programmatically added to the Toolbox. | |
AddActiveXItem2 | Adds an ActiveX item to the Toolbox. | |
AddItem | Adds a data object to the specified tab in the Toolbox. | |
AddItem2 | Adds an item to the referenced Toolbox tab, specifying a package GUID. | |
AddItemFromFile | Allows files to be programmatically added to the Toolbox. | |
AddItemFromFile2 | Adds an item to the Toolbox from a file, specifying a package GUID. | |
AddTab | Adds a new tab to the Toolbox. | |
AddTab2 | Adds a tab to the Toolbox, specifying the tab view. | |
AddTabEx | Adds a new tab to the Toolbox and specifies how the tabs are viewed. | |
AddTabEx2 | Adds a tab to the Toolbox, specifying a tab view and a package GUID. | |
DataUsed | Called by a designer to inform the Toolbox that the item has been pasted onto the form. | |
EnumItems | Enumerates items on a given tab in the Toolbox, or all items in the Toolbox. | |
EnumTabs | Enumerates through tabs in the Toolbox. | |
GetData | Returns the data object for the selected item in the Toolbox. | |
GetFrame | Returns the window frame for the Toolbox. | |
GetTab | Returns the name of the selected tab. | |
GetTabView | Returns the tab view for the specified tab. | |
IsCurrentUser | Determines whether the specified Toolbox user is the current user. | |
RegisterDataProvider | Registers a Toolbox data provider. | |
RemoveItem | Removes an item from the Toolbox. | |
RemoveTab | Removes a tab from the Toolbox. | |
SelectItem | Programmatically selects an item. | |
SelectTab | Programmatically selects the referenced Toolbox tab. | |
SetCursor | Sets the drop cursor for the current, enabled Toolbox item. | |
SetItemInfo | Sets information for the referenced item. | |
SetTabView | Sets the type of view for the specified tab. | |
UnregisterDataProvider | Unregisters the specified data provider. | |
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 Callers
Called by editors, projects, and other objects that want to manipulate the shared Toolbox user interface.