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

Definition

Removes a key and value from the collection.

C#
bool ICollection<KeyValuePair<string,object>>.Remove(System.Collections.Generic.KeyValuePair<string,object> item);

Parameters

item
KeyValuePair<String,Object>

The KeyValuePair<TKey,TValue> structure that represents the key and value to remove from the collection.

Returns

true if the key and value are successfully found and removed; otherwise, false. This method returns false if the key and value are not found in the ICollection<T>.

Implements

Applies to