Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ToolBoxTabs Interface

Contains all tabs in the Toolbox.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

'Declaration
<GuidAttribute("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")> _
Public Interface ToolBoxTabs
	Inherits IEnumerable
'Usage
Dim instance As ToolBoxTabs

/** @attribute GuidAttribute("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D") */ 
public interface ToolBoxTabs extends IEnumerable
GuidAttribute("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D") 
public interface ToolBoxTabs extends IEnumerable

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

Community Additions

ADD
Show:
© 2015 Microsoft