SortedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove Método

Definición

Quita la primera aparición del elemento especificado de .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

Parámetros

keyValuePair
KeyValuePair<TKey,TValue>

Estructura KeyValuePair<TKey,TValue> que se va a quitar de .ICollection<T>

Devoluciones

true si keyValuePair se quitó correctamente de ICollection<T>; de lo contrario, false. Este método también devuelve false si keyValuePair no se encontró en .ICollection<T>

Implementaciones

Se aplica a