JsonValue.Count Property


This method is not supported and throws an exception when called.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

public virtual int Count { get; }

Property Value

Type: System.Int32
Returns Int32.

The exception it throws is the InvalidOperationException. This property is overloaded in JsonArray and JsonObject classes, which inherit from this class, where it returns the number of items in the respective collections.


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