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
- controlType
Type : System.Type
- childBuilder
Type : System.Web.UI.ControlBuilder
Valeur renvoyée
Type : System.Boolean