Rediger

Del via


Table.RowControlCollection.Add(Control) Method

Definition

Adds the specified Control object to the Table.RowControlCollection collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override void Add(System::Web::UI::Control ^ child);
public override void Add (System.Web.UI.Control child);
override this.Add : System.Web.UI.Control -> unit
Public Overrides Sub Add (child As Control)

Parameters

child
Control

The Control to add to the Table.RowControlCollection.

Exceptions

The object specified by child is not a TableRow.

Remarks

Use the Add method to add a new control to the Table.RowControlCollection collection. The specified control is added at the end of the array. The control can be only an instance of a TableRow control.

To add a control to the Table.RowControlCollection collection at a specific index location, use the AddAt method.

Applies to

See also