共用方式為


SPRoleDefinition.Hidden property

取得布林值,這個值,指出是否要將角色定義顯示在 [新增使用者] 頁面上。

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

Syntax

'宣告
Public ReadOnly Property Hidden As Boolean
    Get
'用途
Dim instance As SPRoleDefinition
Dim value As Boolean

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

Property value

Type: System.Boolean
true如果角色定義會顯示 ;否則, false。

請參閱

參照

SPRoleDefinition class

SPRoleDefinition members

Microsoft.SharePoint namespace