Share via


ImmutableSortedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Remove Yöntem

Tanım

Belirli bir nesnenin ilk oluşumunu öğesinden ICollection<T>kaldırır.

 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

Parametreler

item
KeyValuePair<TKey,TValue>

öğesinden ICollection<T>kaldırılacak nesne.

Döndürülenler

trueöğesinden ICollection<T>başarıyla kaldırıldıysa; kaldırılmadıysaitem, false. Bu yöntem, özgün ICollection<T>içinde bulunamazsa item da döndürürfalse.

Uygulamalar

Şunlara uygulanır