WebPartZone.AddParsedSubObject Method

Prevents parsed elements from being added into the ControlCollection of the WebPartZone.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
Protected Overrides NotOverridable Sub AddParsedSubObject ( _
    obj As Object _
)
'Usage
Dim obj As Object

Me.AddParsedSubObject(obj)
protected override sealed void AddParsedSubObject(
    Object obj
)

Parameters

Remarks

This override throws a WebPartPageUserException() if obj is not a LiteralControl or its Text property is not empty.

See Also

Reference

WebPartZone Class

WebPartZone Members

Microsoft.SharePoint.WebPartPages Namespace