This documentation is archived and is not being maintained.

ArrayList.CopyTo Method

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

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

ArrayList.CopyTo (Int32, Array, Int32, Int32) Copies a range of elements from the ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array.

Supported by the .NET Compact Framework.

Show: