Share via


ToolBoxTabs 인터페이스

업데이트: 2007년 11월

도구 상자의 모든 탭을 포함합니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

<GuidAttribute("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")> _
Public Interface ToolBoxTabs _
    Implements IEnumerable

Dim instance As ToolBoxTabs
[GuidAttribute("CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")]
public interface ToolBoxTabs : IEnumerable
[GuidAttribute(L"CF177B52-4F2F-42A0-8DA3-CE78679A0D2D")]
public interface class ToolBoxTabs : IEnumerable
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

참고 항목

참조

ToolBoxTabs 멤버

EnvDTE 네임스페이스