Table.RowControlCollection.AddAt Method
Assembly: System.Web (in system.web.dll)
public void AddAt ( int index, Control child )
public override function AddAt ( index : int, child : Control )
Parameters
- index
The location in the array at which to add the child control.
- child
The Control object to add to the Table.RowControlCollection.
| Exception type | Condition |
|---|---|
| The control does not allow child controls. | |
| The child value is a null reference (Nothing in Visual Basic). -or- The object is not a TableRow. |
Use the AddAt method to add a new control to the Table.RowControlCollection collection at a specified location. The control can be only an instance of a TableRow control.
To add a control to the Table.RowControlCollection at the end of the Table.RowControlCollection, use the Add method.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.