Aracılığıyla paylaş


ToolBoxTab2.ToolBoxItems Özellik

Koleksiyonu alır ToolBoxItems ile ilgili bir ToolBoxTab.

Ad alanı:  EnvDTE80
Derleme:  EnvDTE80 (EnvDTE80.dll içinde)

Sözdizimi

'Bildirim
ReadOnly Property ToolBoxItems As ToolBoxItems
    Get
ToolBoxItems ToolBoxItems { get; }
property ToolBoxItems^ ToolBoxItems {
    ToolBoxItems^ get ();
}
abstract ToolBoxItems : ToolBoxItems
function get ToolBoxItems () : ToolBoxItems

Özellik Değeri

Tür: EnvDTE.ToolBoxItems
A ToolBoxItems koleksiyonu.

Yüklenen

ToolBoxTab.ToolBoxItems

Açıklamalar

A ToolBoxTab birini veya birkaçını içerebilir ToolBoxItem nesneler.

Örnekler

Sub ToolBoxAddExample()
    ' This adds a Text item to the first tab of the Toolbox.
    ' 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

    ' Add a new Text item to the first tab in the Toolbox.
    tbxTabs.Item(1).ToolBoxItems.Add("New Text Item", "Some text to _
    add to the document.", vsToolBoxItemFormat.vsToolBoxItemFormatText)
End Sub

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ToolBoxTab2 Arabirim

ToolBoxItems Fazla Yük

EnvDTE80 Ad Alanı