Método CopyTo

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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)