SPRoleDefinition.Id property
取得集合中的角色定義的 ID。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Id As Integer
Get
'用途
Dim instance As SPRoleDefinition
Dim value As Integer
value = instance.Id
public int Id { get; }
Property value
Type: System.Int32
識別角色定義為 32 位元整數。
備註
ID屬性所包含的a null reference (Nothing in Visual Basic)角色定義加入至集合。