TList<T>.CopyTo(TArray,Integer) Method

Copies the elements of the ICollection<T> to an array, starting at a particular array index.

Namespace: Spring.Collections.Lists
public
 procedure CopyTo(var values: TArray<T>; index: Integer); override;

Parameters

values
Type: TArray<T>

The one-dimensional array that is the destination of the elements copied from ICollection<T>. The array must have zero-based indexing.

index
Type: Integer

The zero-based index in array at which copying begins.

Overrides

TCollectionBase<T>.CopyTo(TArray,Integer)