Compartilhar via


Método IReadOnlyCollection<T>.CopyTo

Copies the elements of the collection to the specified array, starting at a particular array index.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Uso
Dim instance As IReadOnlyCollection 
Dim array As T()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
void CopyTo(
    T[] array,
    int arrayIndex
)
void CopyTo(
    array<T>^ array, 
    int arrayIndex
)
abstract CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit
function CopyTo(
    array : T[], 
    arrayIndex : int
)

Parâmetros

  • array
    Tipo: array<T[]
    The one-dimensional zero-based index array that is the destination of the elements to copy from the collection.
  • arrayIndex
    Tipo: System.Int32
    The position in the array at which the copying of the first element starts.

Consulte também

Referência

IReadOnlyCollection<T> Interface

Namespace Microsoft.SqlServer.Management.Sdk.Sfc