Click or drag to resize

RankedDictionaryTKey, TValueCopyTo Method

Copies the dictionary to a compatible array, starting at the supplied position.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public void CopyTo(
	KeyValuePair<TKey, TValue>[] array,
	int index
)

Parameters

array
Type: System.Collections.GenericKeyValuePairTKey, TValue
A one-dimensional array that is the destination of the copy.
index
Type: SystemInt32
The zero-based starting position in array.

Implements

ICollectionTCopyTo(T, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen array is null.
ArgumentOutOfRangeExceptionWhen index is less than zero.
ArgumentExceptionWhen not enough space is given for the copy.
See Also