Поделиться через


Метод ReplicationBaseCollection.CopyTo

Copies the collection to an array.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Применение
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
)

Параметры

  • array
    Тип: System.Array
    An Array object that is to receive the copy of the original collection.
  • index
    Тип: System.Int32
    An Int32 value that specifies the index position within the original collection to start copying.

Реализует

ICollection.CopyTo(Array, Int32)

Замечания

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

См. также

Справочник

ReplicationBaseCollection Класс

Пространство имен Microsoft.SqlServer.Replication