IDictionary(String, Object).ContainsKey Method

ExpandoObject.IDictionary<String, Object>.ContainsKey Method

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

Determines whether the dictionary contains the specified key.

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

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

Parameters

key
Type: System.String
The key to locate in the dictionary.

Return Value

Type: System.Boolean
true if the dictionary contains an element that has the specified key; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft