Class DataTransferRowCollection
Represents a collection of DataTransferRow objects for a table in a database. This class cannot be inherited.
public sealed class DataTransferRowCollection : IEnumerable<DataTransferRow>, IEnumerable
- Inheritance
-
DataTransferRowCollection
- Implements
Properties
ColumnNames
Gets the column names that is present in this DataTransferRow.
public IEnumerable<string> ColumnNames { get; }
Property Value
- IEnumerable<string>
The column names of a table-row in a database.
Count
Gets the number of elements contained in the ICollection<T>.
public int Count { get; }
Property Value
- int
The count.
this[int]
Gets the DataTransferRow at the specified index.
public DataTransferRow this[int index] { get; }
Parameters
index
intThe zero-based index of the row to return.
Property Value
- DataTransferRow
The specified DataTransferRow.
Methods
Contains(DataTransferRow)
Determines whether the ICollection<T> contains a specific value.
public bool Contains(DataTransferRow item)
Parameters
item
DataTransferRowThe object to locate in the ICollection<T>.
Returns
- bool
true if
item
is found in the ICollection<T>; otherwise, false.
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<DataTransferRow> GetEnumerator()
Returns
- IEnumerator<DataTransferRow>
A IEnumerator<T> that can be used to iterate through the collection.
IndexOf(DataTransferRow)
Determines the index of a specific item in the IList<T>.
public int IndexOf(DataTransferRow item)
Parameters
item
DataTransferRowThe object to locate in the IList<T>.
Returns
- int
The index of
item
if found in the list; otherwise, -1.