JsonArray.Add Method

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

Adds a JsonValue object to the end of the array.

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

Syntax

'Declaration
Public Sub Add ( _
    item As JsonValue _
)
public void Add(
    JsonValue item
)

Parameters

Implements

ICollection<T>.Add(T)

Remarks

JsonArray accepts nulla null reference (Nothing in Visual Basic) as a valid value and allows duplicate elements.

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.