Partilhar via


ClientObjectCollection<T>.IEnumerable<T>.GetEnumerator Method

Returns an enumerator that iterates through the ClientObjectCollection<T>.

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(Of T)
    Implements IEnumerable(Of T).GetEnumerator
'Usage
Dim instance As ClientObjectCollection
Dim returnValue As IEnumerator(Of T)

returnValue = CType(instance, IEnumerable(Of T)).GetEnumerator()
IEnumerator<T> IEnumerable<T>.GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<T>
An enumerator for iterating this ClientObjectCollection<T>.

Implements

IEnumerable<T>.GetEnumerator()

Remarks

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

See Also

Reference

ClientObjectCollection<T> Class

ClientObjectCollection<T> Members

Microsoft.SharePoint.Client Namespace