EnumerableRowCollection<TRow>.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an enumerator for the collection of contained row objects.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual System::Collections::Generic::IEnumerator<TRow> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<TRow> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'Row>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'Row>
Public Function GetEnumerator () As IEnumerator(Of TRow)
Returns
IEnumerator<TRow>
A strongly-typed IEnumerator<T> that can be used to traverse the collection of TRow
objects.
Implements
Remarks
When used with LINQ to DataSet queries, Trow
will be of type DataRow.
This method cannot be overridden.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.