Share via


SPAlternateUrlCollectionManager.IEnumerable.GetEnumerator Method

Gets an object that can 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)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPAlternateUrlCollectionManager
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An object that can enumerate the members of the collection.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

SPAlternateUrlCollectionManager Class

SPAlternateUrlCollectionManager Members

Microsoft.SharePoint.Administration Namespace