JsonValue.Item Property (Int32)

Silverlight

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[
	int index
] { get; set; }

Parameters

index
Type: System.Int32
The zero-based index of the element to get or set.

Property Value

Type: System.Json.JsonValue
A JsonValue.

The exception thrown is the InvalidOperationException. This method is overloaded in the implementation of the JsonArray class, which 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.

Community Additions

ADD
Show: