public void CopyTo(
KeyValuePair<TKey, TValue>[] array,
int arrayIndex
)Public Sub CopyTo (
array As KeyValuePair(Of TKey, TValue)(),
arrayIndex As Integer
)public:
virtual void CopyTo(
array<KeyValuePair<TKey, TValue>>^ array,
int arrayIndex
) sealedfunction CopyTo(array, arrayIndex);| ArgumentNullException | array is null. |
| ArgumentOutOfRangeException | arrayIndex is less than 0. |
| ArgumentException | The number of elements in the source FileBackedDictionaryTKey, TValue is greater than the available space from arrayIndex to the end of the destination array. |