Прочетете на английски Редактиране

Споделяне чрез


EntityCollection<TEntity>.CopyTo(TEntity[], Int32) Method

Definition

Copies all the contents of the collection to an array, starting at the specified index of the target array.

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

Parameters

array
TEntity[]

The array to copy to.

arrayIndex
Int32

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

Implements

Applies to

Продукт Версии
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1