ToolboxCategoryItems.IList.RemoveAt(Int32) 方法

定义

ToolboxCategoryItems 集合的指定索引位置处移除工具箱类别。Removes a toolbox category at the specified index of the ToolboxCategoryItems collection.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

参数

index
Int32

要移除的工具箱类别项的从零开始的索引。The zero-based index of the toolbox category item to remove.

实现

异常

index 对于 ToolboxCategoryItems 集合无效。The index is not valid for the ToolboxCategoryItems collection.

注解

ToolboxCategoryItems 实现 IList 接口。ToolboxCategoryItems implements the IList interface.

在由连续的元素组成的集合(如列表)中,已移除元素下面的元素将上移以占据空出的位置。In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. 如果集合具有索引,则移动的元素的索引也将更新。If the collection is indexed, the indexes of the elements that are moved are also updated.

适用于