次の方法で共有


ToolBoxTabs.Item(Object) Method

Definition

Returns an indexed member of a ToolBoxTabs collection.

public:
 EnvDTE::ToolBoxTab ^ Item(System::Object ^ index);
public:
 EnvDTE::ToolBoxTab ^ Item(Platform::Object ^ index);
EnvDTE::ToolBoxTab Item(winrt::Windows::Foundation::IInspectable const & index);
[System.Runtime.InteropServices.DispId(0)]
public EnvDTE.ToolBoxTab Item (object index);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : obj -> EnvDTE.ToolBoxTab
Public Function Item (index As Object) As ToolBoxTab

Parameters

index
Object

Required. The index of the item to return.

Returns

A ToolBoxTab object.

Attributes

Remarks

The value passed to Index is an integer that is either an index to a ToolBoxTab object in the ToolBoxTabs collection or a string value that equates to the name of a ToolBoxTab object in the collection.

The Item method throws a ArgumentException exception if the specified index value cannot be found.

Applies to