ToolboxCategory.IList.RemoveAt(Int32) 方法

定义

ToolboxCategory 集合的指定索引位置处移除工具。Removes the tool at the specified index of the ToolboxCategory 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 tool item to remove.

实现

异常

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

注解

ToolboxCategory 实现 IList 接口。ToolboxCategory 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.

适用于