SPRoleAssignmentCollection.Item property
取得集合指定索引處的角色指派。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPRoleAssignment
Get
'用途
Dim instance As SPRoleAssignmentCollection
Dim index As Integer
Dim value As SPRoleAssignment
value = instance(index)
public SPRoleAssignment this[
int index
] { get; }
參數
index
Type: System.Int32指定的索引為 32 位元整數。
Property value
Type: Microsoft.SharePoint.SPRoleAssignment
SPRoleAssignment 物件,表示角色指派。
請參閱
參照
SPRoleAssignmentCollection class