Share via


ServerGroupCollection.CopyTo(Array, Int32) Method

Definition

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

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 System. Int32 value that specifies the index position to start the copy.

Implements

Examples

Using Collections

Applies to