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

定義

特定のオブジェクトが ICollection<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

ICollection<T> から削除するオブジェクト。

戻り値

trueitem から正常に削除された場合は ICollection<T>。それ以外の場合は false。 このメソッドは、false が元の item に見つからない場合にも ICollection<T> を返します。

実装

適用対象