JsonObject.Count Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns the number of key/value pairs in the JsonObject.

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

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property Count As Integer
public override sealed int Count { get; }

Property Value

Type: System.Int32
The number of key/value pairs in the JSON CLR object.

Implements

ICollection<T>.Count

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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