Dictionary<(Of <(<'TKey1, TKey2, TValue>)>)>..::..CopyTo Method
Copies the elements of the [ICollection{T}] to an [Array], starting at a particular [Array] index.
Namespace:
Tortuga.Anchor.CollectionsAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
Parameters
- array
- Type: array<KeyValuePair<(Of <(<'ValueTuple<(Of <(<'TKey1, TKey2>)>)>, TValue>)>)>>[]()[][]
The one-dimensional [Array] that is the destination of the elements copied from [ICollection{T}]. The [Array] must have zero-based indexing.
- arrayIndex
- Type: Int32
The zero-based index in array at which copying begins.
Exceptions
Exception | Condition |
---|---|
[ArgumentNullException] | array is nullNothingnullptra null reference (Nothing in Visual Basic). |
[ArgumentOutOfRangeException] | arrayIndex is less than 0. |
[ArgumentException] | The number of elements in the source [ICollection{T}] is greater than the available space from arrayIndex to the end of the destination array. |