TypeConverter.StandardValuesCollection.CopyTo(Array, Int32) Method

Definition

Copies the contents of this collection to an array.

public:
 virtual void CopyTo(Array ^ array, int index);
public:
 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
member this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

An Array that represents the array to copy to.

index
Int32

The index to start from.

Implements

Remarks

The index number is zero-based. Therefore, you must subtract one from the numerical position of a particular Object to access that Object. For example, to get the third Object, you need to specify myColl[2].

Applies to

See also