ToolboxCategoryItems.IList.RemoveAt(Int32) Method

Definition

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);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parameters

index
Int32

The zero-based index of the toolbox category item to remove.

Implements

Exceptions

The index is not valid for the ToolboxCategoryItems collection.

Remarks

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.

Applies to