This documentation is archived and is not being maintained.

ReadOnlyDictionary<TKey, TValue>::ICollection<KeyValuePair<TKey, TValue>>::CopyTo Method

Copies the contents of this dictionary to the specified array at the specified index.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

private:
virtual void CopyTo(
	array<KeyValuePair<TKey, TValue>>^ array, 
	int arrayIndex
) sealed = ICollection<KeyValuePair<TKey, TValue>>::CopyTo

Parameters

array
Type: array<System.Collections.Generic::KeyValuePair<TKey, TValue>>

The target array that will receive the results of this copy.

arrayIndex
Type: System::Int32

The index in the target array from which the copied contents will start.

Implements

ICollection<T>::CopyTo(array<T>, Int32)

Show: