ToolBoxTabs Interface
Visual Studio 2015
Contains all tabs in the Toolbox.
Assembly: EnvDTE (in EnvDTE.dll)
| Name | Description | |
|---|---|---|
![]() | Add(String^) | Creates a new tab in the ToolBox and adds it to the ToolBoxTabs collection. |
![]() | GetEnumerator() | Gets an enumerator for items in the collection. |
![]() | Item(Object^) | Returns an indexed member of a ToolBoxTabs collection. |
Sub ToolBoxTabsExample() ' Define the variables and create an object reference to the IDE's ' ToolBox object. Dim win As Window = DTE.Windows.Item(Constants.vsWindowKindToolbox) Dim tlBox As ToolBox = win.Object Dim tbxTabs As ToolBoxTabs ' Create an object reference to the ToolBoxTabs object. tbxTabs = tlBox.ToolBoxTabs ' Now you can manipulate the ToolBox. ' List the total number of tabs in the ToolBox. MsgBox("Number of ToolBox tabs: " & tbxTabs.Count) End Sub
Show:

