ExpandoObject.IDictionary<String, Object>.Remove Method

Removes the element that has the specified key from the IDictionary.

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

Syntax

'Declaration
Private Function Remove ( _
    key As String _
) As Boolean Implements IDictionary(Of String, Object).Remove
bool IDictionary<string, Object>.Remove(
    string key
)

Parameters

Return Value

Type: System.Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary<TKey, TValue>.

Implements

IDictionary<TKey, TValue>.Remove(TKey)

Version Information

Silverlight

Supported in: 5, 4

Platforms

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