Partilhar via


Método CopyTo

Copies the collection objects to a one-dimensional array beginning at the index value specified.

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

Sintaxe

'Declaração
Public Sub CopyTo ( _
    array As DependencyCollectionNode(), _
    arrayIndex As Integer _
)
'Uso
Dim instance As DependencyCollection
Dim array As DependencyCollectionNode()
Dim arrayIndex As Integer

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

Parâmetros

Implementa

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

Exemplos

Gerando scripts