Compartir a través de


CopyTo Método

Copies the collection to an array.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Uso
Dim instance As ReplicationBaseCollection
Dim array As Array
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit 
override CopyTo : 
        array:Array * 
        index:int -> unit 
public final function CopyTo(
    array : Array, 
    index : int
)

Parámetros

  • index
    Tipo: System. . :: . .Int32
    An Int32 value that specifies the index position within the original collection to start copying.

Implementa

ICollection. . :: . .CopyTo(Array, Int32)

Comentarios

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.