ImmutableSortedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove Metodo

Definizione

Rimuove la prima occorrenza di un oggetto specifico da 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

Parametri

item
KeyValuePair<TKey,TValue>

Oggetto da rimuovere da ICollection<T>.

Restituisce

true se item è stato rimosso correttamente da ICollection<T>; in caso contrario, false. Questo metodo restituisce inoltre false se item non viene trovato nell'oggetto ICollection<T> originale.

Implementazioni

Si applica a