다음을 통해 공유


DataServiceQuery<TElement>.IEnumerable<TElement>.GetEnumerator 메서드

쿼리를 실행하고 결과를 컬렉션으로 반환합니다.

Silverlight용 WCF Data Services 5.0 클라이언트에서만 지원됩니다.

네임스페이스:  System.Data.Services.Client
어셈블리:  Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)

구문

‘선언
Private Function GetEnumerator As IEnumerator(Of TElement)
    Implements IEnumerable(Of TElement).GetEnumerator
‘사용 방법
Dim instance As DataServiceQuery
Dim returnValue As IEnumerator(Of TElement)

returnValue = CType(instance, IEnumerable(Of TElement)).GetEnumerator()
IEnumerator<TElement> IEnumerable<TElement>.GetEnumerator()
private:
virtual IEnumerator<TElement>^ GetEnumerator() sealed = IEnumerable<TElement>::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator<'TElement> 
private override GetEnumerator : unit -> IEnumerator<'TElement> 
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

반환 값

유형: System.Collections.Generic.IEnumerator<TElement>
쿼리 결과에 대한 열거자입니다.

구현

IEnumerable<T>.GetEnumerator()

참고 항목

참조

DataServiceQuery<TElement> 클래스

System.Data.Services.Client 네임스페이스