CopyTo Method

JsonObject.CopyTo Method

Silverlight

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)

public void CopyTo(
	KeyValuePair<string, JsonValue>[] array,
	int arrayIndex
)

Parameters

array
Type: System.Collections.Generic.KeyValuePair<String, JsonValue>[]
The destination array of type KeyValuePair<TKey, TValue> to which the elements of the JsonObject are copied
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(T[], Int32)

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show:
© 2016 Microsoft