System.Web.UI.Control.AddParsedSubObject Method

Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's System.Web.UI.ControlCollection object.

Syntax

protected virtual void AddParsedSubObject (object obj)

Parameters

obj
An object that represents the parsed element.

Remarks

Unless you override it, this method automatically adds System.Web.UI.LiteralControl objects to the server control's System.Web.UI.ControlCollection object. This collection is accessible through Control.Controls property.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0