Export (0) Print
Expand All

DataServiceQuery<TElement>.IEnumerable.GetEnumerator Method

Executes the query and returns the results as a collection.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

IEnumerator IEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An enumerator over the query results.

Implements

IEnumerable.GetEnumerator()

When the IEnumerable.GetEnumerator method is called, the DataServiceQuery<TElement> is executed against the service.

GetEnumerator returns an enumerable the first time it is called. On successive calls it returns null.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2014 Microsoft