pmMDA.NET

PagedSet.CopyTo Method 

[This is preliminary documentation and subject to change.]

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

public override void CopyTo(
   Array array,
   int index
);

Parameters

array
The one-dimensional Array that is the destination of the items copied from this set. 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.
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.
PagingException There was an error while reloading items.

See Also

PagedSet Class | PmMda.Net.Dog.Paging Namespace