共用方式為


SPFarmManagedAccountCollection.IEnumerable.GetEnumerator method

瀏覽集合取得逐一查看列舉值。

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'用途
Dim instance As SPFarmManagedAccountCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()

傳回值

Type: System.Collections.IEnumerator
逐一查看集合列舉值。

Implements

IEnumerable.GetEnumerator()

備註

這個成員是明確介面成員實作。只有當SPFarmManagedAccountCollection執行個體轉換成IEnumerable介面時,才可以使用它。

請參閱

參照

SPFarmManagedAccountCollection class

SPFarmManagedAccountCollection members

Microsoft.SharePoint.Administration namespace