This method is used by all Chart collections to copy all items in the collection to an array, starting at a particular array index.
Copies all the elements of the current collection to the specified one-dimensional collection starting at the specified destination index.
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- array
-
A one-dimensional array that is the destination of the copied elements (must use zero-based indexing).
Destination collection. - index
-
The zero-based index at which copying of items begins.
The index in collection at which copying begins.
Use this method to copy the contents of a collection to an array (0-based).
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family