다음을 통해 공유


ToolBoxTabs Interface

Definition

Contains all tabs in the Toolbox.

public interface class ToolBoxTabs : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface ToolBoxTabs : System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")]
public interface ToolBoxTabs : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type ToolBoxTabs = interface
    interface IEnumerable
[<System.Runtime.InteropServices.Guid("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")>]
type ToolBoxTabs = interface
    interface IEnumerable
Public Interface ToolBoxTabs
Implements IEnumerable
Attributes
Implements

Examples

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  

Properties

Count

Gets a value indicating the number of objects in the collection.

DTE

Gets the top-level extensibility object.

Parent

Gets the immediate parent object of a ToolBoxTabs collection.

Methods

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.

Applies to