This topic has not yet been rated - Rate this topic

JsonValue.Item Property (String)

This indexer is not supported for this base class and throws an exception.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)
public virtual JsonValue this[
	string key
] { get; set; }

Parameters

key
Type: System.String
The key of the element to get or set.

Property Value

Type: System.Json.JsonValue
Returns JsonValue.

The exception thrown is the InvalidOperationException. This method is overloaded in the implementation of the JsonObject class, which consists of a collection of key/value pairs and inherits from this class.

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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.