Share via


BaseInfoCollection<T>.IEnumerable.GetEnumerator method

Returns an enumerator that iterates through this collection.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As BaseInfoCollection
Dim returnValue As IEnumerator

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

Return value

Type: System.Collections.IEnumerator
An enumerator iterating through this collection.

Implements

IEnumerable.GetEnumerator()

See also

Reference

BaseInfoCollection<T> class

BaseInfoCollection<T> members

Microsoft.Office.Server.Search.Administration namespace