Compartilhar via


IReadOnlyCollection<T>.CopyTo Method

Copies the items of the collection to an array starting at a specified index.

Namespace:  Microsoft.BusinessData.Infrastructure.Collections
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As IReadOnlyCollection
Dim array As T()
Dim arrayIndex As Integer

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

Parameters

  • array
    Type: []

    The array name.

See Also

Reference

IReadOnlyCollection<T> Interface

IReadOnlyCollection<T> Members

Microsoft.BusinessData.Infrastructure.Collections Namespace