Metodo ReadOnlyList<T>.CopyTo

Copies the elements of the list to an array, starting at a particular array index.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Utilizzo
Dim instance As ReadOnlyList 
Dim array As T()
Dim arrayIndex As Integer

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

Parametri

  • array
    Tipo: array<T[]
    The one-dimensional array that is the destination of the elements copied from a list.
  • arrayIndex
    Tipo: System.Int32
    The zero-based index in an array at which copying begins.

Implementa

IReadOnlyCollection<T>.CopyTo(array<T[], Int32)

Vedere anche

Riferimento

ReadOnlyList<T> Struttura

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc