ICollection(KeyValuePair(String, Object)).Remove Method

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

Removes a key and value from the collection.

Namespace:  System.Dynamic
Assembly:  System.Core (in System.Core.dll)

bool ICollection<KeyValuePair<string, Object>>.Remove(
	KeyValuePair<string, Object> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<String, Object>
The KeyValuePair<TKey, TValue> structure that represents the key and value to remove from the collection.

Return Value

Type: System.Boolean
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

ICollection<T>.Remove(T)

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft