SPPolicyRoleCollection.GetEnumerator Method
Returns an enumerator to iterate through the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPPolicyRoleCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator GetEnumerator()
Return Value
Type: System.Collections.IEnumerator
A System.Collections.IEnumerator interface.