Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HashSet<T>::CopyTo Method

 

Copies the elements of a HashSet<T> collection to an array.

Namespace:   System.Collections.Generic
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodCopyTo(array<T>^)

Copies the elements of a HashSet<T> object to an array.

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

Copies the elements of a HashSet<T> object to an array, starting at the specified array index.

System_CAPS_pubmethodCopyTo(array<T>^, Int32, Int32)

Copies the specified number of elements of a HashSet<T> object to an array, starting at the specified array index.

Return to top
Show:
© 2017 Microsoft