DetailsViewRowCollection.ICollection.CopyTo(Array, Int32) Method

Definition

Copies all the items from this DetailsViewRowCollection object to the specified Array object, starting at the specified index in the Array.

C#
void ICollection.CopyTo(Array array, int index);

Parameters

array
Array

A zero-based Array that receives the copied items from the DetailsViewRowCollection.

index
Int32

The first index in the specified Array to receive the copied contents.

Implements

Remarks

This implementation of the ICollection.CopyTo(Array, Int32) method is a helper method used by the DetailsViewRowCollection class to copy the items in the DetailsViewRowCollection object into the specified Array object, starting at the specified index. The Array object can then be used to access the items in the collection.

Note

You must use a zero-based Array object for the array parameter.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also