다음을 통해 공유


JsonArray.AddRange Method (array<JsonValue[])

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

Adds the elements from an array of type JsonValue to the Array.

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

Syntax

'Declaration
Public Sub AddRange ( _
    ParamArray items As JsonValue() _
)
public void AddRange(
    params JsonValue[] items
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

If the size of the new array exceeds that of the original array, the capacity is automatically reallocated to accommodate the new elements.

The order of the elements in the array being added is preserved in the Array to which they are added.

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.