Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
obj
Type: System.ObjectThe parsed element.
Remarks
This override throws a WebPartPageUserException() if obj is not a LiteralControl or its Text property is not empty.