Condividi tramite


JsonObject.CopyTo Method

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

Copies the contents of the JSON CLR object into a specified key/value destination array beginning at a specified index.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As KeyValuePair(Of String, JsonValue)(), _
    arrayIndex As Integer _
)
public void CopyTo(
    KeyValuePair<string, JsonValue>[] array,
    int arrayIndex
)

Parameters

  • arrayIndex
    Type: System.Int32
    The zero-based index at which to begin the insertion of the contents from the JSON CLR object type.

Implements

ICollection<T>.CopyTo(array<T[], Int32)

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.