HashSet<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 elements of a HashSet<T> collection 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 method CopyTo(array<T[]) Copies the elements of a HashSet<T> object to an array.
Public method CopyTo(array<T[], Int32) Copies the elements of a HashSet<T> object to an array, starting at the specified array index.
Public method CopyTo(array<T[], Int32, Int32) Copies the specified number of elements of a HashSet<T> object to an array, starting at the specified array index.

Top