Επεξεργασία

Κοινή χρήση μέσω


HtmlTableRow.HtmlTableCellControlCollection.AddAt(Int32, Control) Method

Definition

Adds the specified Control object to the collection 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 at which to add the child control.

child
Control

The Control to add to the collection.

Exceptions

The added control must be of type HtmlTableCell.

Remarks

The added control can only be an HtmlTableCell control; otherwise, an ArgumentException exception is thrown.

Applies to

See also