SortedSet(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 complete SortedSet(Of T) to a compatible one-dimensional array, starting at the beginning of the target array.
Assembly: System (in System.dll)
Parameters
- array
- Type:
T
()
A one-dimensional array that is the destination of the elements copied from the SortedSet(Of T).
| Exception | Condition |
|---|---|
| ArgumentException | The number of elements in the source SortedSet(Of T) exceeds the number of elements that the destination array can contain. |
| ArgumentNullException | array is Nothing. |
Show: