RegisteredServerCollection.CopyTo(Array, Int32) Method

Definition

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

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 of RegisteredServer objects.

index
Int32

An Int32 value that specifies the index value in the collection to start copying.

Implements

Examples

Using Collections

Applies to