Edit

Share via


EnumerableRowCollection<TRow>.GetEnumerator Method

Definition

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