SPRoleAssignmentCollection.Item Property
Gets the role assignment at the specified index in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As SPRoleAssignment
Get
'Usage
Dim instance As SPRoleAssignmentCollection
Dim index As Integer
Dim value As SPRoleAssignment
value = instance.Item(index)
public SPRoleAssignment this[
int index
] { get; }
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index.
Property Value
Type: Microsoft.SharePoint.SPRoleAssignment
An SPRoleAssignment object that represents the role assignment.
See Also
Reference
SPRoleAssignmentCollection Class