Share via


ClientObjectCollection<T>.GetEnumerator method

Returns an enumerator that can iterate through the elements in the ClientObjectCollection<T> collection.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As ClientObjectCollection
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator()
public IEnumerator<T> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<T>
 An enumerator that can iterate through the elements in the collection.

See also

Reference

ClientObjectCollection<T> class

ClientObjectCollection<T> members

Microsoft.SharePoint.Client namespace