Bewerken

Delen via


DataServiceQuery.IEnumerable.GetEnumerator Method

Definition

Gets the IEnumerator object that can be used to iterate through the collection returned by the query.

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
abstract member System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

Returns

An enumerator over the query results.

Implements

Remarks

Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

Applies to