ControlCollection.CopyTo Method (Array, Int32)
.NET Framework (current version)
Copies the child controls stored in the ControlCollection object to an System.Array object, beginning at the specified index location in the System.Array.
Assembly: System.Web (in System.Web.dll)
Parameters
- array
-
Type:
System.Array
The System.Array to copy the child controls to.
- index
-
Type:
System.Int32
The zero-based relative index in array where copying begins.
Implements
ICollection.CopyTo(Array, Int32)| Exception | Condition |
|---|---|
| HttpException | array is not null and not one-dimensional. |
.NET Framework
Available since 1.1
Available since 1.1
Show: