ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove Метод

Определение

Удаляет ключ и значение из коллекции.

 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

Параметры

item
KeyValuePair<String,Object>

Структура KeyValuePair<TKey,TValue> , представляющая ключ и значение для удаления из коллекции.

Возвращаемое значение

true , если ключ и значение успешно найдены и удалены; falseв противном случае . Этот метод возвращает, false если ключ и значение не найдены в объекте ICollection<T>.

Реализации

Применяется к