Click or drag to resize

RankedDictionaryTKey, TValueICollectionCopyTo Method

Copies the elements of the collection to an array, starting at the supplied array index.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
void ICollection.CopyTo(
	Array array,
	int index
)

Parameters

array
Type: SystemArray
The destination array of the copy.
index
Type: SystemInt32
The zero-based index in array at which copying begins.

Implements

ICollectionCopyTo(Array, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen array is null.
ArgumentOutOfRangeExceptionWhen index is less than zero.
ArgumentException When array is multidimensional, the number of elements in the source is greater than the available space, or the type of the source cannot be cast for the destination.
See Also