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)
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