Class EnumerableDataRowCollection
Helper class that mimics EnumerableRowCollection, but exposes the source DataTable as public property.
Inheritance
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class EnumerableDataRowCollection : Object, IEnumerable<DataRow>, IEnumerable
Constructors
EnumerableDataRowCollection(DataTable)
Initializes a new instance of the EnumerableDataRowCollection class.
Declaration
public EnumerableDataRowCollection(DataTable dataTable)
Parameters
System.Data.DataTable
dataTable
The source data table. |
Properties
DataTable
Gets the source data table.
Declaration
public DataTable DataTable { get; }
Property Value
System.Data.DataTable
The source data table. |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<DataRow> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<System.Data.DataRow>
A System.Collections.Generic.IEnumerator<> that can be used to iterate through the collection. |