Share via


EntitySet<TEntity>.CopyTo Method (TEntity , Int32)

Copies the members of the EntitySet<TEntity> to the specified array beginning at the specified array index.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As TEntity(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As EntitySet
Dim array As TEntity()
Dim arrayIndex As Integer

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

Parameters

  • array
    Type: []

    The target array.

  • arrayIndex
    Type: System.Int32

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

Implements

ICollection<T>.CopyTo([], Int32)

See Also

Reference

EntitySet<TEntity> Class

EntitySet<TEntity> Members

CopyTo Overload

Microsoft.SharePoint.Linq Namespace