RequiresDesignerPermissionAttribute class

Sets the Web Part property attribute that determines whether designer permissions are required before a user can modify the property.

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.WebPartPages.RequiresDesignerPermissionAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class RequiresDesignerPermissionAttribute _
    Inherits Attribute
'Usage
Dim instance As RequiresDesignerPermissionAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class RequiresDesignerPermissionAttribute : Attribute

Remarks

When set to true, RequiresDesignerPermissionAttribute will require users to have designer permissions to modify the property. The default value is true.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

RequiresDesignerPermissionAttribute members

Microsoft.SharePoint.WebPartPages namespace