GetEnumerator Method

EnumerableRowCollection<TRow>.GetEnumerator Method

Returns an enumerator for the collection of contained row objects. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Data
Assembly:  System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)

public IEnumerator<TRow> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<TRow>
A strongly-typed IEnumerator<T> that can be used to traverse the collection of TRow objects.

Implements

IEnumerable<T>.GetEnumerator()

When used with LINQ to DataSet queries, Trow will be of type DataRow

This method cannot be overridden.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

.NET Compact Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2016 Microsoft