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

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

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

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.

Implements

ICollection<T>.CopyTo(TArray,Integer)