SPPolicyCollection.GetEnumerator method
Returns an enumerator to iterate through the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPPolicyCollection
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.