Skip to content

JSArray.CopyTo method (1 of 2)

C#
public void CopyTo(JSValue[] array, int arrayIndex)

See Also


JSArray.CopyTo<T> method (2 of 2)

Copies array elements to a destination array, converting each element from JS values using a conversion delegate.

C#
public void CopyTo<T>(T[] array, int arrayIndex, To<T> fromJS)
parameterdescription
arrayDestination array.
arrayIndexStarting index in the destination array.
fromJSDelegate that converts from JS value to array element type.

See Also

Released under the MIT license