Partilhar via


Método DependencyCollection.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

  • arrayIndex
    Tipo: System.Int32
    An Int32 value that specifies the index position to start the copy.

Implementa

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

Exemplos

Gerando scripts

Consulte também

Referência

DependencyCollection Classe

Namespace Microsoft.SqlServer.Management.Smo