Compartir a través de


IReadOnlyCollection<T>.CopyTo Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
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.

Vea también

Referencia

IReadOnlyCollection<T> Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc