Class
EnumerableDataRowCollection

Helper class that mimics EnumerableRowCollection, but exposes the source DataTable as public property.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class EnumerableDataRowCollection : IEnumerable<DataRow>, IEnumerable

Inheritance: objectEnumerableDataRowCollection

Implements: IEnumerableIEnumerable<DataRow>

Constructors

EnumerableDataRowCollection(DataTable)

Initializes a new instance of the EnumerableDataRowCollection class.

Declaration

cs-api-definition
public EnumerableDataRowCollection(DataTable dataTable)

Parameters

dataTable

DataTable

The source data table.

Properties

DataTable

Gets the source data table.

Declaration

cs-api-definition
public DataTable DataTable { get; }

Property Value

DataTable

The source data table.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<DataRow> GetEnumerator()

Returns

IEnumerator<DataRow>

A IEnumerator<T> that can be used to iterate through the collection.

Implements IEnumerable<DataRow>.GetEnumerator()