Copies the elements of the container to an array, starting at a particular index.
Syntax
Parameters
- array
- Array that is populated with data from the container.
- arrayIndex
- Index where to start.
Exceptions
| Exception | Description |
| ArgumentNullException | Array is null. |
| ArgumentException | Array is multidimensional, array does not have zero-based
indexing, the number of elements in the source is greater than the number of elements that the
destination array can contain or type T cannot be cast automatically to the type of the destination
array. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also