Partager via


UpdatableCollection<Key, T>.IEnumerable.GetEnumerator Method

Returns an enumerator that iterates through the 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 UpdatableCollection
Dim returnValue As IEnumerator

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

Return Value

Type: System.Collections.IEnumerator
An object that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator()

Remarks

This member is an explicit interface member implementation. It can be used only when the UpdatableCollection<Key, T> instance is cast to an IEnumerable interface.

See Also

Reference

UpdatableCollection<Key, T> Class

UpdatableCollection<Key, T> Members

Microsoft.Office.Server.Search.Administration Namespace