Condividi tramite


Metodo CopyTo (T[], Int32)

Copies the elements from the collection to the specified array, starting at the specified array index. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

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

Sintassi

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

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

Parametri

  • array
    Tipo: array<T> [] () [] []
    The array to copy to.

Implementa

ICollection< (Of < ( <'T> ) > ) >. . :: . .CopyTo(array<T> [] () [] [], Int32)