ImmutableDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey,TValue>) Método
Definición
Quita la primera aparición de un objeto específico de la interfaz ICollection<T>.Removes the first occurrence of a specific object from the 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
Parámetros
Objeto que se va a quitar de ICollection<T>.The object to remove from the ICollection<T>.
Devoluciones
Es true
si item
se ha quitado correctamente de la interfaz ICollection<T>; en caso contrario, es false
.true
if item
was successfully removed from the ICollection<T>; otherwise, false
. Este método también devuelve false
si no se encuentra item
en la ICollection<T> original.This method also returns false
if item
is not found in the original ICollection<T>.