Click or drag to resize
JsonArrayCopyTo Method
Copies the entire JsonArray to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace: Dextronet.Jsonie
Assembly: Dextronet.Jsonie (in Dextronet.Jsonie.dll) Version: 1.0.0.0
Syntax
public void CopyTo(
	JsonValue[] array,
	int arrayIndex
)

Parameters

array
Type: Dextronet.JsonieJsonValue
The one-dimensional System.Array that is the destination of the elements copied from JsonArray. The System.Array must have zero-based indexing.
arrayIndex
Type: SystemInt32
The zero-based index in array at which copying begins.

Implements

ICollectionTCopyTo(T, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionarrayIndex is less than 0.
ArgumentException The number of elements in the JsonArray is greater than the available space from arrayIndex to the end of the destination array.
See Also