Compartir a través de


CopyTo Método

Copies members of the collection to an array, starting at the specified index of the array.

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

Sintaxis

'Declaración
Public Sub CopyTo ( _
    array As Urn(), _
    arrayIndex As Integer _
)
'Uso
Dim instance As UrnCollection
Dim array As Urn()
Dim arrayIndex As Integer

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

Parámetros

Implementa

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

Ejemplos

Usar colecciones