ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove Metoda

Definicja

Usuwa klucz i wartość z kolekcji.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Remove;
bool ICollection<KeyValuePair<string,object>>.Remove (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Remove (item As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Parametry

item
KeyValuePair<String,Object>

Struktura KeyValuePair<TKey,TValue> reprezentująca klucz i wartość do usunięcia z kolekcji.

Zwraca

true jeśli klucz i wartość zostaną pomyślnie znalezione i usunięte; w przeciwnym razie , false. Ta metoda zwraca false wartość, jeśli klucz i wartość nie zostaną znalezione w obiekcie ICollection<T>.

Implementuje

Dotyczy