CrestronQueueTCopyTo Method |
Copies the Queue's elements to an existing one-dimensional array, starting at the specified array index.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic void CopyTo(
T[] array,
int index
)
Parameters
- array T
- Destination of the elements.
- index Int32
- Index at which copying begins
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Destination array is null. |
| ArgumentOutOfRangeException | Index is less than zero. |
| ArgumentException | Index is equal to or greater than the length of the destination array. -or- The number of
elements in the source Queue is greater than the available space from index to the end of the destination array. |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also