JSArray.CopyFrom<T> method
Copies array elements from a source array, converting each element to JS values using a conversion delegate.
C#
public void CopyFrom<T>(T[] array, int arrayIndex, From<T> toJS)
parameter | description |
---|---|
array | Source array. |
arrayIndex | Starting index in the destination array. |
toJS | Delegate that converts from array element type to JS value. |
See Also
- delegate From<T>
- struct JSArray
- namespace Microsoft.JavaScript.NodeApi