SPPageParserFilter.AllowControl - Méthode

Ce membre remplace PageParserFilter.AllowControl(Type, ControlBuilder).

Espace de noms :  Microsoft.SharePoint.ApplicationRuntime
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function AllowControl ( _
    controlType As Type, _
    childBuilder As ControlBuilder _
) As Boolean
'Utilisation
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
)

Paramètres

Valeur renvoyée

Type : System.Boolean

Voir aussi

Référence

SPPageParserFilter classe

SPPageParserFilter - Membres

Microsoft.SharePoint.ApplicationRuntime - Espace de noms