SPRoleDefinitionBindingCollection.Item property

Gets the role definition 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 SPRoleDefinition
    Get
'Usage
Dim instance As SPRoleDefinitionBindingCollection
Dim index As Integer
Dim value As SPRoleDefinition

value = instance(index)
public SPRoleDefinition this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 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

SPRoleDefinitionBindingCollection members

Microsoft.SharePoint namespace