System.Web.UI.WebControls.RepeaterItemCollection.CopyTo Method

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

Syntax

public void CopyTo (Array array, int index)

Parameters

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

Remarks

Use this method to copy the contents of the System.Web.UI.WebControls.RepeaterItemCollection into the specified Array object, starting at the specified index.

Note:

The array parameter must be a zero-based Array object.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0