Share via


DataServiceQuery<TElement>.IEnumerable.GetEnumerator Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
IEnumerator IEnumerable.GetEnumerator()

Return Value

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

Implements

IEnumerable.GetEnumerator()

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.