Редактиране

Споделяне чрез


Array.IList.RemoveAt(Int32) Method

Definition

Removes the IList item at the specified index.

 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 index of the element to remove.

Implements

Exceptions

index is not a valid index in the IList.

The IList is read-only.

-or-

The IList has a fixed size.

Remarks

This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an IList interface.

Applies to