SortedList<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey,TValue>) メソッド

定義

ICollection<T> 内で最初に見つかった特定のキー/値ペアを削除します。Removes the first occurrence of a specific key/value pair from the ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove(System::Collections::Generic::KeyValuePair<TKey, TValue> keyValuePair) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Remove;
bool ICollection<KeyValuePair<TKey,TValue>>.Remove (System.Collections.Generic.KeyValuePair<TKey,TValue> keyValuePair);
Function Remove (keyValuePair As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove

パラメーター

戻り値

truekeyValuePair から正常に削除された場合は ICollection<T>。それ以外の場合は falsetrue if keyValuePair was successfully removed from the ICollection<T>; otherwise, false. このメソッドは、元の ICollection<T>keyValuePair が見つからなかった場合にも false を返します。This method also returns false if keyValuePair was not found in the original ICollection<T>.

実装

適用対象