Επεξεργασία

Κοινή χρήση μέσω


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.

public:
 virtual void CopyTo(cli::array <TEntity> ^ array, int arrayIndex);
public void CopyTo (TEntity[] array, int arrayIndex);
abstract member CopyTo : 'Entity[] * int -> unit
override this.CopyTo : 'Entity[] * int -> unit
Public Sub CopyTo (array As TEntity(), arrayIndex As Integer)

Parameters

array
TEntity[]

The array to copy to.

arrayIndex
Int32

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

Implements

Applies to