SPRoleDefinitionBindingCollection.Item Property
Gets the role definition 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 SPRoleDefinition
Get
'Usage
Dim instance As SPRoleDefinitionBindingCollection
Dim index As Integer
Dim value As SPRoleDefinition
value = instance.Item(index)
public SPRoleDefinition this[
int index
] { get; }
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index.
Property Value
Type: Microsoft.SharePoint.SPRoleDefinition
An SPRoleDefinition object that represents the role definition.
See Also
Reference
SPRoleDefinitionBindingCollection Class