Array.IList.RemoveAt(Int32) 方法

定義

移除在指定索引處的 IList 項目。

 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

要移除的項目索引。

實作

例外狀況

索引在 IList 中不是有效索引。

IList 為唯讀。

-或-

IList 具有固定的大小。

備註

這個成員是明確介面成員實作, 只有在 Array 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於