Export (0) Print
Expand All

ConcurrentDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.CopyTo Method

Copies the elements of the ICollection to an array, starting at the specified array index.

Namespace:  System.Collections.Concurrent
Assembly:  mscorlib (in mscorlib.dll)

void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(
	KeyValuePair<TKey, TValue>[] array,
	int index
)

Parameters

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

The one-dimensional array that is the destination of the elements copied from the ICollection. The array must have zero-based indexing.

index
Type: System.Int32

The zero-based index in array at which copying begins.

Implements

ICollection<T>.CopyTo(T[], Int32)

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft