RequiresDesignerPermissionAttribute Constructor (Boolean)
Initializes a new instance of the RequiresDesignerPermissionAttribute class with the specified flag.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
requiresDesignerPermission As Boolean _
)
'Usage
Dim requiresDesignerPermission As Boolean
Dim instance As New RequiresDesignerPermissionAttribute(requiresDesignerPermission)
public RequiresDesignerPermissionAttribute(
bool requiresDesignerPermission
)
Parameters
requiresDesignerPermission
Type: System.BooleanA flag that indicates whether a property in a Web Part requires the user to have design permissions to modify it.
See Also
Reference
RequiresDesignerPermissionAttribute Class
RequiresDesignerPermissionAttribute Members