TableRow.CellControlCollection.AddAt(Int32, Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified Control object to the TableRow.CellControlCollection collection. The new control is added to the array at the specified index location.
public:
override void AddAt(int index, System::Web::UI::Control ^ child);
public override void AddAt (int index, System.Web.UI.Control child);
override this.AddAt : int * System.Web.UI.Control -> unit
Public Overrides Sub AddAt (index As Integer, child As Control)
Parameters
- index
- Int32
The location in the array to add the child control.
- child
- Control
The Control to add to the TableRow.CellControlCollection.
Exceptions
Remarks
The added control can be only a TableCell object; otherwise, an ArgumentException is thrown.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.