ListSortDescriptionCollection.IList.Remove(Object) 方法

定義

從集合移除第一個項目。

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
void IList.Remove (object? value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove

參數

value
Object

要從集合中移除的項目。

實作

例外狀況

在所有情況下。

備註

因為 類別 ListSortDescriptionCollection 會實作 System.Collections.IList 介面,所以它必須有 IList.Remove 方法。 不過,因為類別 ListSortDescriptionCollection 代表唯讀集合,所以從集合中移除專案是無效的作業。

適用於