Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes the query and returns the results as a collection.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'Usage
Dim instance As DataServiceQuery
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator
private override GetEnumerator : unit -> IEnumerator
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.Collections.IEnumerator
An enumerator over the query results.
Implements
Remarks
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.