ToolboxCategoryItems.IList.Item[Int32] 属性

定义

获取或设置集合中的指定索引位置处的工具箱类别。Gets or sets the toolbox category at a specified index of the collection.

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
 Property Item(index As Integer) As Object Implements IList.Item

参数

index
Int32

要获取或设置的工具箱类别项的从零开始的索引。The zero-based index of the toolbox category item to get or set.

属性值

位于指定索引位置处的工具箱类别 ObjectThe toolbox category Object at the specified index.

实现

异常

value 设置为 nullThe value set is null.

注解

ToolboxCategoryItems 实现 IList 接口。ToolboxCategoryItems implements the IList interface. 可以使用下面的语法通过此属性访问集合中的特定元素:myCollection[index]This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].

适用于