System.Web.UI.WebControls.DetailsViewRowCollection.CopyTo Method

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

Syntax

public void CopyTo (DetailsViewRow[] array, int index)

Parameters

array
A zero-based Array that receives the copied items from the System.Web.UI.WebControls.DetailsViewRowCollection.
index
The first index in the specified Array to receive the copied contents.

Remarks

Use this method to copy the items in the System.Web.UI.WebControls.DetailsViewRowCollection object into the specified array, starting at the specified index. The array can then be used to access the items in the collection.

Note:

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0