共用方式為


SPRoleDefinition.Type property

取得角色定義的型別。

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

Syntax

'宣告
Public ReadOnly Property Type As SPRoleType
    Get
'用途
Dim instance As SPRoleDefinition
Dim value As SPRoleType

value = instance.Type
public SPRoleType Type { get; }

Property value

Type: Microsoft.SharePoint.SPRoleType
SPRoleType 值,指出角色類型。

請參閱

參照

SPRoleDefinition class

SPRoleDefinition members

Microsoft.SharePoint namespace