CopyTo Method

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.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

abstract CopyTo : 
        array:'TEntity[] *
        arrayIndex:int -> unit
override CopyTo : 
        array:'TEntity[] *
        arrayIndex:int -> unit

Parameters

array
Type: 'TEntity[]

The array to copy to.

arrayIndex
Type: System.Int32

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

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft