Copies the collection to an array of System.Web.UI.WebControls.WebParts.EditorPart controls.
- 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.
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.