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

 

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

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

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

Parameters

array
Type: TEntity[]

The array to copy to.

arrayIndex
Type: System.Int32

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