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
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk