Share via


ClientProtocolCollection.ICollection.CopyTo(Array, Int32) Method

Definition

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

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

Parameters

array
Array

An array of ClientProtocol objects.

index
Int32

An Int32 value that specifies the index position to start the copy.

Implements

Examples

Using Collections

Applies to