Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

JsonObject.ContainsKey Method

Checks whether a key/value pair with a specified key exists in the JSON CLR object type.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)
public override bool ContainsKey(
	string key
)

Parameters

key
Type: System.String
The key to check for.

Return Value

Type: System.Boolean
true if the JSON CLR object contains the key; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)
ExceptionCondition
ArgumentNullException

key is null.

Silverlight

Supported in: 5, 4, 3

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.