SPPolicyRoleCollection.Item property (Int32)

Gets the policy role object at the specified index in the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As SPPolicyRole
    Get
'Usage
Dim instance As SPPolicyRoleCollection
Dim index As Integer
Dim value As SPPolicyRole

value = instance.Item(index)
public SPPolicyRole this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index in the collection.

Property value

Type: Microsoft.SharePoint.Administration.SPPolicyRole
An SPPolicyRole object that represents the policy role.

See also

Reference

SPPolicyRoleCollection class

SPPolicyRoleCollection members

Item overload

Microsoft.SharePoint.Administration namespace