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)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As SPPolicyRole
Get
'Usage
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
Dim index As Integer
Dim value As SPPolicyRole
value = instance.Item(index)
public SPPolicyRole this[
int index
] { get; }
Parameters
index
Type: System.Int32A 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