Share via


SPPolicy.SPPolicyRoleBindingCollection.Item Property (Int32)

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPPolicyRole
    Get
'Usage
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim index As Integer
Dim value As SPPolicyRole

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

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index of the policy role.

Property Value

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

See Also

Reference

SPPolicy.SPPolicyRoleBindingCollection Class

SPPolicy.SPPolicyRoleBindingCollection Members

Item Overload

Microsoft.SharePoint.Administration Namespace