Share via


ReplicationBaseCollection.CopyTo(Array, Int32) Method

Definition

Copies the collection to an array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

An Array object that is to receive the copy of the original collection.

index
Int32

An Int32 value that specifies the index position within the original collection to start copying.

Implements

Remarks

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

Applies to