SPRoleAssignmentCollection.Item property
Gets the role assignment at the specified index in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPRoleAssignment
Get
'Usage
Dim instance As SPRoleAssignmentCollection
Dim index As Integer
Dim value As SPRoleAssignment
value = instance(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