Click or drag to resize

ReadOnlySpanTCopyTo(T, Int32) Method

Copies the contents of this span into a destination array.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public void CopyTo(
	T[] destination,
	int destinationIndex = 0
)

Parameters

destination  T
The target array.
destinationIndex  Int32  (Optional)
Index in destination at which copying begins.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when destination is .
ArgumentException Thrown when the destination array does not have enough capacity from destinationIndex to hold all elements.
See Also