List<T>.CopyTo Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Copies the List<T> or a portion of it to an 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CopyTo(array<T[]) Copies the entire List<T> to a compatible one-dimensional array, starting at the beginning of the target array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CopyTo(array<T[], Int32) Copies the entire List<T> to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CopyTo(Int32, array<T[], Int32, Int32) Copies a range of elements from the List<T> to a compatible one-dimensional array, starting at the specified index of the target array.

Top