SortedList<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey,TValue>) Método
Definição
Remove a primeira ocorrência de um determinado par de chave/valor do 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);
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>
O KeyValuePair<TKey,TValue> a ser removido de ICollection<T>.The KeyValuePair<TKey,TValue> to remove from the ICollection<T>.
Retornos
true se keyValuePair tiver sido removido com êxito do ICollection<T>; caso contrário, false.true if keyValuePair was successfully removed from the ICollection<T>; otherwise, false. Esse método também retornará false se keyValuePair não tiver sido encontrado no ICollection<T> original.This method also returns false if keyValuePair was not found in the original ICollection<T>.