Partager via


IVsToolbox2 Members

Include Protected Members
Include Inherited Members

Used to manage the Toolbox.

The IVsToolbox2 type exposes the following members.

Methods

  Name Description
Public method AddActiveXItem Allows ActiveX controls to be programmatically added to the Toolbox. (Inherited from IVsToolbox.)
Public method AddActiveXItem(Guid%, String, IVsHierarchy) Allows ActiveX controls to be programmatically added to the Toolbox.
Public method AddActiveXItem2 Adds an ActiveX item to the Toolbox.
Public method AddItem Adds a data object to the specified tab in the Toolbox. (Inherited from IVsToolbox.)
Public method AddItem(IDataObject, array<TBXITEMINFO[], String) Adds a data object to the specified tab in the Toolbox.
Public method AddItem2 Adds an item to the referenced Toolbox tab, specifying a package GUID.
Public method AddItemFromFile Allows files to be programmatically added to the Toolbox. (Inherited from IVsToolbox.)
Public method AddItemFromFile(String, IVsHierarchy, Int32%) Allows files to be programmatically added to the Toolbox.
Public method AddItemFromFile2 Adds an item to the Toolbox from a file, specifying a package GUID.
Public method AddTab Adds a new tab to the Toolbox. (Inherited from IVsToolbox.)
Public method AddTab(String) Adds a new tab to the Toolbox.
Public method AddTab2 Adds a tab to the Toolbox, specifying the tab view.
Public method AddTabEx Adds a new tab to the Toolbox and specifies how the tabs are viewed. (Inherited from IVsToolbox.)
Public method AddTabEx(String, VSTBXTABVIEW) Adds a new tab to the Toolbox and specifies how the tabs are viewed.
Public method AddTabEx2 Adds a tab to the Toolbox, specifying a tab view and a package GUID.
Public method DataUsed Called by a designer to inform the Toolbox that the item has been pasted onto the form. (Inherited from IVsToolbox.)
Public method DataUsed() Called by a designer to inform the Toolbox that the item has been pasted onto the form.
Public method EnumItems Enumerates items on a given tab in the Toolbox, or all items in the Toolbox. (Inherited from IVsToolbox.)
Public method EnumItems(String, IEnumToolboxItems%) Enumerates items on a given tab in the Toolbox, or all items in the Toolbox.
Public method EnumTabs Enumerates through tabs in the Toolbox. (Inherited from IVsToolbox.)
Public method EnumTabs(IEnumToolboxTabs%) Enumerates through tabs in the Toolbox.
Public method GetData Returns the data object for the selected item in the Toolbox. (Inherited from IVsToolbox.)
Public method GetData(IDataObject%) Returns the data object for the selected item in the Toolbox.
Public method GetFrame Returns the window frame for the Toolbox. (Inherited from IVsToolbox.)
Public method GetFrame(IVsWindowFrame%) Returns the window frame for the Toolbox.
Public method GetTab Returns the name of the selected tab. (Inherited from IVsToolbox.)
Public method GetTab(String%) Returns the name of the selected tab.
Public method GetTabView Returns the tab view for the specified tab. (Inherited from IVsToolbox.)
Public method GetTabView(String, array<VSTBXTABVIEW[]) Returns the tab view for the specified tab.
Public method IsCurrentUser Determines whether the specified Toolbox user is the current user. (Inherited from IVsToolbox.)
Public method IsCurrentUser(IVsToolboxUser, Int32%) Determines whether the specified Toolbox user is the current user.
Public method RegisterDataProvider Registers a Toolbox data provider. (Inherited from IVsToolbox.)
Public method RegisterDataProvider(IVsToolboxDataProvider, UInt32%) Registers a Toolbox data provider.
Public method RemoveItem Removes an item from the Toolbox. (Inherited from IVsToolbox.)
Public method RemoveItem(IDataObject) Removes an item from the Toolbox.
Public method RemoveTab Removes a tab from the Toolbox. (Inherited from IVsToolbox.)
Public method RemoveTab(String) Removes a tab from the Toolbox.
Public method SelectItem Programmatically selects an item. (Inherited from IVsToolbox.)
Public method SelectItem(IDataObject) Programmatically selects an item.
Public method SelectTab Programmatically selects the referenced Toolbox tab. (Inherited from IVsToolbox.)
Public method SelectTab(String) Programmatically selects the referenced Toolbox tab.
Public method SetCursor Sets the drop cursor for the current, enabled Toolbox item. (Inherited from IVsToolbox.)
Public method SetCursor() Sets the drop cursor for the current, enabled Toolbox item.
Public method SetItemInfo Sets information for the referenced item. (Inherited from IVsToolbox.)
Public method SetItemInfo(IDataObject, array<TBXITEMINFO[]) Sets information for the referenced item.
Public method SetTabView Sets the type of view for the specified tab. (Inherited from IVsToolbox.)
Public method SetTabView(String, VSTBXTABVIEW) Sets the type of view for the specified tab.
Public method UnregisterDataProvider Unregisters the specified data provider. (Inherited from IVsToolbox.)
Public method UnregisterDataProvider(UInt32) Unregisters the specified data provider.
Public method UpdateToolboxUI Forces a redraw of the Toolbox UI. (Inherited from IVsToolbox.)
Public method UpdateToolboxUI() Forces a redraw of the Toolbox UI.

Top

See Also

Reference

IVsToolbox2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace