System.Web.UI.WebControls.WebParts.EditorPartCollection.CopyTo Method

Copies the collection to an array of System.Web.UI.WebControls.WebParts.EditorPart controls.

Syntax

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

Parameters

array
An System.Web.UI.WebControls.WebParts.EditorPart to contain the copied collection of controls.
index
The starting point in the array at which to place the collection contents.

Remarks

The EditorPartCollection.CopyTo(EditorPart[], int) method is useful when you want to create a custom array that can contain the System.Web.UI.WebControls.WebParts.EditorPart controls in the System.Web.UI.WebControls.WebParts.EditorPartCollection object, a subset of those controls, or a superset of those controls.

Requirements

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