Edit

Bagikan melalui


ToolboxCategory.IList.RemoveAt(Int32) Method

Definition

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);
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 tool item to remove.

Implements

Exceptions

The index is not valid for the ToolboxCategory collection.

Remarks

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.

Applies to