HashSet(Of T).CopyTo Method (T())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Copies the elements of a HashSet(Of T) object to an array.
Assembly: System.Core (in System.Core.dll)
Parameters
- array
- Type:
T
()
The one-dimensional array that is the destination of the elements copied from the HashSet(Of T) object. The array must have zero-based indexing.
| Exception | Condition |
|---|---|
| ArgumentNullException | array is Nothing. |
Show: