共用方式為


SPPrefixCollection.IEnumerable<SPPrefix>.GetEnumerator method

會傳回集合中逐一查看的列舉值。

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

Syntax

'宣告
Private Function GetEnumerator As IEnumerator(Of SPPrefix)
    Implements IEnumerable(Of SPPrefix).GetEnumerator
'用途
Dim instance As SPPrefixCollection
Dim returnValue As IEnumerator(Of SPPrefix)

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

傳回值

Type: System.Collections.Generic.IEnumerator<SPPrefix>
IEnumerator<T>
逐一查看集合列舉值。

Implements

IEnumerable<T>.GetEnumerator()

請參閱

參照

SPPrefixCollection class

SPPrefixCollection members

Microsoft.SharePoint.Administration namespace