ToolboxCategory.IList.RemoveAt(Int32) 方法

定義

移除 ToolboxCategory 集合中位於指定之索引的工具。

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

參數

index
Int32

要移除之工具項目以零起始的索引。

實作

例外狀況

index 對於 ToolboxCategory 集合無效。

備註

ToolboxCategory 會實作 IList 介面。

在相鄰元素的集合中,例如清單,接在移除的元素之後的元素會向上移動以佔用空出的位置。 如果集合具有索引,則移動之項目的索引也會更新。

適用於