ToolBoxTab ToolBoxTab ToolBoxTab ToolBoxTab ToolBoxTab ToolBoxTab Interface

Definition

Represents a tab in the ToolBox, along with any objects the tab contains.

public interface class ToolBoxTab
public interface class ToolBoxTab
__interface ToolBoxTab
[System.Runtime.InteropServices.Guid("CE2DEF9E-3387-4BF2-967B-A1F7F70DF325")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface ToolBoxTab
type ToolBoxTab = interface
Public Interface ToolBoxTab
Derived
Attributes

Examples

Sub ToolBoxTabExample()  
    Dim tlBox As ToolBox  
    Dim tbxTabs As ToolBoxTabs  
    Dim tbxTab As ToolBoxTab  
    Dim tbxItem As ToolBoxItem  

    Try  
        ' Create an object reference to the IDE's ToolBox object and  
        ' its tabs.  
        tlBox = DTE.Windows.Item(Constants.vsWindowKindToolbox).Object  
        tbxTabs = tlBox.ToolBoxTabs  

        ' Select the first ToolBox tab.  
        tbxTab = tbxTabs.Item(1)  
        tbxTab.Activate()  
        tbxItem = tbxTab.ToolBoxItems.Item(4)  
        MsgBox("ToolBox item name: " & tbxItem.Name)  

    Catch ex As System.Exception  
        MsgBox("ERROR: " & ex.Message)  
    End Try  
End Sub  

Properties

Collection Collection Collection Collection Collection Collection

Gets the collection containing the ToolBoxTab object supporting this property.

DTE DTE DTE DTE DTE DTE

Gets the top-level extensibility object.

ListView ListView ListView ListView ListView ListView

Gets or sets a value indicating whether items in a particular ToolBox tab display in List view or Icon view format.

Name Name Name Name Name Name

Gets or sets the name of the object.

ToolBoxItems ToolBoxItems ToolBoxItems ToolBoxItems ToolBoxItems ToolBoxItems

Gets the collection of ToolBoxItems associated with a ToolBoxTab.

Methods

Activate() Activate() Activate() Activate() Activate() Activate()

Moves the focus to the current item.

Delete() Delete() Delete() Delete() Delete() Delete()

Removes the ToolBoxTab from a collection.

Applies to