SortedList<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove Methode

Definition

Entfernt das erste Vorkommen eines bestimmten Schlüssel-Wert-Paars aus dem 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);
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 (keyValuePair As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove

Parameter

Gibt zurück

true wenn keyValuePair erfolgreich aus dem ICollection<T>; andernfalls falseentfernt wurde. Diese Methode gibt auch zurück false , wenn keyValuePair sie im Original ICollection<T>nicht gefunden wurde.

Implementiert

Gilt für: