Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeConverter.StandardValuesCollection.CopyTo Method

Copies the contents of this collection to an array.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public void CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array

An Array that represents the array to copy to.

index
Type: System.Int32

The index to start from.

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].

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft