Share via


CopyTo Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Copies the ArrayList or a portion of it to a one-dimensional array.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method CopyTo(Array) Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
Public method CopyTo(Array, Int32) Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.

Top

See Also

Reference

ArrayList Class

System.Collections Namespace