Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- array
- Contains an array that receives the elements of the collection.
- index
- Contains the zero-based index in array where this method starts copying the collection.
This method implements a standard collection operation. It copies elements from this collection to the given array in order, starting at element 0 in this collection. It places the elements into the array starting at the given zero-based index. This method will stop copying elements when it reaches the end of the collection or the end of the array.