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

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft