Partager via


ArrayList.CopyTo Method

Copies objects from the ArrayList collection to a specified one-dimensional array.

Overload List

Name Description
ArrayList.CopyTo (Array) Copies the entire ArrayList collection to a compatible one-dimensional array, starting at the beginning of the destination array.
ArrayList.CopyTo (Array, Int32) Copies the entire ArrayList collection to a compatible one-dimensional array, starting at the specified index number in the destination array.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

ArrayList Class
ArrayList Members
System.Collections Namespace