Share via


CopyTo Método (T[], Int32)

Copies the elements from the collection to the specified array, starting at the specified array index. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

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

Sintaxis

'Declaración
Public Overrides Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
'Uso
Dim instance As SfcCollatedDictionaryCollection
Dim array As T()
Dim arrayIndex As Integer

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

Parámetros

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

Implementa

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