MultiView.AddParsedSubObject Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Notifies the MultiView control that an XML or HTML element was parsed, and adds the element to the ViewCollection collection of the MultiView control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected override void AddParsedSubObject(
	object obj


Type: System.Object

An Object that represents the parsed element.

Exception Condition

The specified Object is not a View control.

This method overrides the base class implementation to allow only View controls to be added to the ViewCollection.

.NET Framework
Available since 2.0
Return to top