ImmutableList<T>.ICollection<T>.Remove(T) メソッド

定義

変更できないリストから特定のオブジェクトの最初の出現箇所を削除します。

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove(T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove

パラメーター

item
T

削除するオブジェクト。

返品

がリストから正常に削除された場合は a0/&。それ以外の場合は。 このメソッドは、元のリストにfalseが見つからない場合にもitemを返します。

実装

例外

常にスローされます。

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ImmutableList<T> インスタンスがICollection<T> インターフェイスにキャストされている場合にのみ使用できます。

適用対象