Export (0) Print
Expand All

MobilePage.AddParsedSubObject Method

Notifies the page that an element was parsed, and adds the element to the Controls property.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected override void AddParsedSubObject (
	Object o
)
protected void AddParsedSubObject (
	Object o
)
protected override function AddParsedSubObject (
	o : Object
)
Not applicable.

Parameters

o

An Object that represents the parsed element.

Exception typeCondition

Exception

The StyleSheet property has already been set.

Unless you override it, this method automatically adds LiteralControl objects to the server control's ControlCollection object. This collection can be accessed through the Controls property.

This member overrides the Control.AddParsedSubObject method to determine whether the object is a StyleSheet before it calls the base method. If the object is of type StyleSheet, the StyleSheet property is set to the o parameter.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2015 Microsoft