Editar

Partilhar via


HtmlTableRow.HtmlTableCellControlCollection.Add(Control) Method

Definition

Adds the specified Control object to the collection.

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 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