Partager via


Méthode CopyTo

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub CopyTo ( _
    array As Urn(), _
    arrayIndex As Integer _
)
'Utilisation
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
)

Paramètres

Implémente

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