Share via


SPPrefixCollection.IEnumerable<SPPrefix>.GetEnumerator method

Returns an enumerator that iterates through the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of SPPrefix)
    Implements IEnumerable(Of SPPrefix).GetEnumerator
'Usage
Dim instance As SPPrefixCollection
Dim returnValue As IEnumerator(Of SPPrefix)

returnValue = CType(instance, IEnumerable(Of SPPrefix)).GetEnumerator()
IEnumerator<SPPrefix> IEnumerable<SPPrefix>.GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPPrefix>
IEnumerator<T>
An enumerator that iterates through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPPrefixCollection class

SPPrefixCollection members

Microsoft.SharePoint.Administration namespace