IDictionary(String, Object).Remove Method

ExpandoObject.IDictionary<String, Object>.Remove Method

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

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

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

bool IDictionary<string, Object>.Remove(
	string key
)

Parameters

key
Type: System.String
The key of the element to remove.

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)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft