Compartir a través de


CopyTo Método

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

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

Sintaxis

'Declaración
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)

Ejemplos

Scripting