EnumerableQuery<T>.IEnumerable.GetEnumerator 方法

定義

傳回可以逐一查看關聯之 IEnumerable<T> 集合的列舉值,或者如果為 null,則逐一查看重新寫入運算式樹狀架構所產生的集合,做為 IEnumerable<T> 資料來源上的查詢並且執行。Returns an enumerator that can iterate through the associated IEnumerable<T> collection, or, if it is null, through the collection that results from rewriting the associated expression tree as a query on an IEnumerable<T> data source and executing it.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

傳回

可以用來逐一查看關聯之資料來源的列舉值。An enumerator that can be used to iterate through the associated data source.

實作

適用於