共用方式為


RequiresDesignerPermissionAttribute.RequiresDesignerPermission property

取得旗標,表示 Web 組件中的屬性是否需要使用者具有修改設計 」 權限。

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

Syntax

'宣告
Public ReadOnly Property RequiresDesignerPermission As Boolean
    Get
'用途
Dim instance As RequiresDesignerPermissionAttribute
Dim value As Boolean

value = instance.RequiresDesignerPermission
public bool RequiresDesignerPermission { get; }

Property value

Type: System.Boolean
true如果屬性需要設計 」 權限來修改它。否則, false。

請參閱

參照

RequiresDesignerPermissionAttribute class

RequiresDesignerPermissionAttribute members

Microsoft.SharePoint.WebPartPages namespace