PriorityQueueTCopyTo Method |
Namespace: DigitalRune.Collections
Exception | Condition |
---|---|
ArgumentNullException | array is . |
ArgumentOutOfRangeException | arrayIndex is less than 0. |
ArgumentException | array is multidimensional. Or arrayIndex is equal to or greater than the length of array. Or the number of elements in the source PriorityQueueT is greater than the available space from arrayIndex to the end of the destination array. |
The PriorityQueueT is not modified. The order of the elements in the new array is not necessarily the same as the order of the elements from the head of the PriorityQueueT to its tail.
This method is an O(n) operation, where n is Count.