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.

Implements

IEnumerable.GetEnumerator()

See also

Reference

SPPolicyCollection class

SPPolicyCollection members

Microsoft.SharePoint.Administration namespace