共用方式為


SPRoleDefinition.Name property

取得或設定角色定義的名稱。

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

Syntax

'宣告
Public Property Name As String
    Get
    Set
'用途
Dim instance As SPRoleDefinition
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }

Property value

Type: System.String
字串,包含受限於 255 個字元的名稱。

請參閱

參照

SPRoleDefinition class

SPRoleDefinition members

Microsoft.SharePoint namespace