TemplateGroupCollection.CopyTo Method
.NET Framework 3.0
Copies the groups in the collection to a compatible one-dimensional array, starting at the specified index of the target array.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public void CopyTo ( TemplateGroup[] array, int index )
public function CopyTo ( array : TemplateGroup[], index : int )
Not applicable.
Parameters
- array
The Array that is the destination of the copied groups. The Array must have zero-based indexing.
- index
The zero-based index in array at which copying begins.
| Exception type | Condition |
|---|---|
| array is multidimensional. -or- index is greater than or equal to the length of array. -or- The number of elements in the source TemplateGroupCollection is greater than the available space from index to the end of array. | |
| index is less than zero. | |
| array is a null reference (Nothing in Visual Basic). |
Community Additions
ADD
Show: