共用方式為


SPAlternateUrlCollectionManager.IEnumerable<SPAlternateUrlCollection>.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(Of SPAlternateUrlCollection)
    Implements IEnumerable(Of SPAlternateUrlCollection).GetEnumerator
'Usage
Dim instance As SPAlternateUrlCollectionManager
Dim returnValue As IEnumerator(Of SPAlternateUrlCollection)

returnValue = CType(instance, IEnumerable(Of SPAlternateUrlCollection)).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumerator<SPAlternateUrlCollection> IEnumerable<SPAlternateUrlCollection>.GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<SPAlternateUrlCollection>
An object that can enumerate the members of the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SPAlternateUrlCollectionManager Class

SPAlternateUrlCollectionManager Members

GetEnumerator Overload

Microsoft.SharePoint.Administration Namespace