Share via


ClientObjectCollection.IEnumerable.GetEnumerator method

Returns an enumerator that iterates through the ClientObjectCollection.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As ClientObjectCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumeratorIEnumerable.GetEnumerator()

Return value

Type: System.Collections.IEnumerator
The object that can be used to iterate through the ClientObjectCollection.

Implements

IEnumerable.GetEnumerator()

Remarks

The method implements the GetEnumerator method from the IEnumerable interface.

See also

Reference

ClientObjectCollection class

ClientObjectCollection members

Microsoft.SharePoint.Client namespace