다음을 통해 공유


SPAlternateUrlCollection.GetEnumerator Method

Returns an IEnumerator object that can be used to access the items in 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(Of SPAlternateUrl)
'Usage
Dim instance As SPAlternateUrlCollection
Dim returnValue As IEnumerator(Of SPAlternateUrl)

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<SPAlternateUrl> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<SPAlternateUrl>
A System.Collections.IEnumerator object.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SPAlternateUrlCollection Class

SPAlternateUrlCollection Members

Microsoft.SharePoint.Administration Namespace