Table.RowControlCollection.Add(Control) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 Control 对象添加到 Table.RowControlCollection 集合中。
此 API 支持产品基础结构,不能在代码中直接使用。
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)
参数
- child
- Control
例外
指定的 child 对象不是 TableRow.
注解
Add使用该方法向集合添加新控件Table.RowControlCollection。 指定的控件将添加到数组末尾。 该控件只能是控件 TableRow 的实例。
若要将控件添加到 Table.RowControlCollection 集合中的特定索引位置,请使用 AddAt 该方法。