TypeConverter::StandardValuesCollection::CopyTo Method (Array^, Int32)

 

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
Available since 1.1
Return to top
Show: