pmMDA.NET

LinkedCollection.CopyTo Method 

[This is preliminary documentation and subject to change.]

Copies the items of this collection to an array, starting at a particular Array index.

public void CopyTo(
   Array array,
   int index
);

Parameters

array
The one-dimensional Array that is the destination of the items copied from this collection. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

Implements

ICollection.CopyTo

Exceptions

Exception Type Condition
ArgumentNullException array is a null reference.
ArgumentOutOfRangeException index is less than zero.
ArgumentException array is multidimensional.
- or -
index is equal to or greater than the length of array.
- or -
The number of items in this set is greater than the available space from index to the end of the array.
InvalidCastException The type of items of this set cannot be cast automatically to the type of the array.

See Also

LinkedCollection Class | PmMda.Net.Dog.Paging Namespace