SPPageParserFilter.AllowControl Method

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

This member overrides PageParserFilter.AllowControl(Type, ControlBuilder).

Namespace:  Microsoft.SharePoint.ApplicationRuntime
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function AllowControl ( _
    controlType As Type, _
    childBuilder As ControlBuilder _
) As Boolean

Dim instance As SPPageParserFilter
Dim controlType As Type
Dim childBuilder As ControlBuilder
Dim returnValue As Boolean

returnValue = instance.AllowControl(controlType, _
    childBuilder)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool AllowControl(
    Type controlType,
    ControlBuilder childBuilder
)

Parameters

Return Value

Type: System.Boolean

See Also

Reference

SPPageParserFilter Class

SPPageParserFilter Members

Microsoft.SharePoint.ApplicationRuntime Namespace