TableCell.AddParsedSubObject(Object) 方法

定义

将已分析的子控件添加到 TableCell 控件。

protected:
 override void AddParsedSubObject(System::Object ^ obj);
protected override void AddParsedSubObject (object obj);
override this.AddParsedSubObject : obj -> unit
Protected Overrides Sub AddParsedSubObject (obj As Object)

参数

obj
Object

一个 Object,表示已经过分析的元素。

注解

TableCell如果控件包含子控件,则调用基类AddParsedSubObject的方法;否则,控件TableCellText属性值将作为LiteralControl对象添加到TableCell控件中ControlCollection

该方法 AddParsedSubObject 主要由扩展控件功能的 TableCell 控件开发人员使用。

继承者说明

AddParsedSubObject(Object) 派生类中重写方法时,请务必调用基类 AddParsedSubObject(Object) 的方法,以便正确将对象添加到 TableCell 控件 ControlCollection中。

适用于

另请参阅