Redigera

Dela via


TableCell.AddParsedSubObject(Object) Method

Definition

Adds a parsed child control to the TableCell control.

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)

Parameters

obj
Object

An Object that represents the parsed element.

Remarks

If the TableCell control contains child controls then the base class's AddParsedSubObject method is called; otherwise, the TableCell control's Text property value is added as a LiteralControl object to the TableCell control's ControlCollection.

The AddParsedSubObject method is used primarily by control developers extending the functionality of the TableCell control.

Notes to Inheritors

When overriding the AddParsedSubObject(Object) method in a derived class, be sure to call the base class's AddParsedSubObject(Object) method so that objects are properly added to the TableCell control ControlCollection.

Applies to

See also