RequiresDesignerPermissionAttribute class
設定決定是否設計工具的權限所需的使用者可以修改屬性的網頁組件屬性屬性。
Inheritance hierarchy
System.Object
System.Attribute
Microsoft.SharePoint.WebPartPages.RequiresDesignerPermissionAttribute
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<AttributeUsageAttribute(AttributeTargets.Property)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class RequiresDesignerPermissionAttribute _
Inherits Attribute
'用途
Dim instance As RequiresDesignerPermissionAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class RequiresDesignerPermissionAttribute : Attribute
備註
當設定為true, RequiresDesignerPermissionAttribute會要求設計工具修改屬性的使用權限的使用者。預設值是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.