語言

ListSortDescriptionCollection.IList.RemoveAt(Int32) 方法

定義

從集合中移除指定索引的項目。

 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

從集合中移除的零基索引 ListSortDescription 。

實作

例外狀況

無論哪種情況。

備註

因為這個 ListSortDescriptionCollection 類別實作了介面, System.Collections.IList 所以它必須有一個 IList.RemoveAt 方法。 然而,由於該 ListSortDescriptionCollection 類別代表唯讀集合,移除集合中的項目是無效的操作。

適用於