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

Definitie

Hiermee verwijdert u het eerste exemplaar van een specifiek object uit de 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

Parameters

item
KeyValuePair<TKey,TValue>

Het object dat moet worden verwijderd uit de ICollection<T>.

Retouren

trueindien item is verwijderd uit de ICollection<T>; anders . false Deze methode retourneert false ook als item deze niet wordt gevonden in het origineel ICollection<T>.

Implementeringen

Van toepassing op