Table.RowControlCollection.Add(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 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
.NET