JsonObject.AddRange Method (IEnumerable<KeyValuePair<String, JsonValue>>)

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

Adds a specified collection of key/value pairs to the current instance of the JsonObject.

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

Syntax

'Declaration
Public Sub AddRange ( _
    items As IEnumerable(Of KeyValuePair(Of String, JsonValue)) _
)
public void AddRange(
    IEnumerable<KeyValuePair<string, JsonValue>> items
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

items is nulla null reference (Nothing in Visual Basic).

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.