Share via


ClientObjectCollection.IEnumerable.GetEnumerator Method

Returns an enumerator that iterates through the ClientObjectCollection.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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

This method implements the GetEnumerator() method from the IEnumerable interface.

See Also

Reference

ClientObjectCollection Class

ClientObjectCollection Members

Microsoft.SharePoint.Client Namespace