HtmlTableRow.HtmlTableCellControlCollection.Add(Control) Méthode

Définition

Ajoute l’objet spécifié Control à la 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)

Paramètres

child
Control

À Control ajouter à la collection.

Exceptions

Le contrôle ajouté doit être de type HtmlTableCell.

Remarques

Le contrôle ajouté ne peut être qu’un HtmlTableCell contrôle ; sinon, une ArgumentException exception est levée.

S’applique à

Voir aussi