ExpandoObject.ICollection<(Of <(KeyValuePair<(Of <(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)

Syntax

Private Function Remove ( _
    item As KeyValuePair(Of String, Object) _
) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove
bool ICollection<KeyValuePair<string, Object>>.Remove(
    KeyValuePair<string, Object> item
)

Parameters

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<(Of <(T>)>).

Implements

ICollection<(Of <(T>)>)..::.Remove(T)

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

ExpandoObject Class

System.Dynamic Namespace