OrderedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove メソッド

定義

特定のオブジェクトの最初の出現箇所を ICollection<T>から削除します。

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove(System::Collections::Generic::KeyValuePair<TKey, TValue> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Remove;
bool ICollection<KeyValuePair<TKey,TValue>>.Remove (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Function Remove (item As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove

パラメーター

item
KeyValuePair<TKey,TValue>

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

戻り値

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

実装

適用対象