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 代表唯讀集合,所以從集合中移除專案是無效的作業。

適用於