Interface IRowsEnumerator
Represents the Rows Enumerator.
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public interface IRowsEnumerator
Properties
ColumnNames
Gets the column names of the table.
Declaration
string[] ColumnNames { get; }
Property Value
Type | Description |
---|---|
System.String[] | The string array that has the column names of the table. |
CurrentRowIndex
Gets the current row index.
Declaration
int CurrentRowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that represents the index of the current row. |
IsEnd
Gets a value indicating whether the end of the row is reached.
Declaration
bool IsEnd { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if it is the end of the row, otherwise false. |
IsLast
Gets a value indicating whether the current row is last row.
Declaration
bool IsLast { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if its last row, otherwise, false. |
RowsCount
Gets the total rows count.
Declaration
int RowsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer that represents the total number of rows. |
TableName
Gets the table name.
Declaration
string TableName { get; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the name of the table. |
Methods
GetCellValue(String)
Returns the cell value for a specified column name.
Declaration
object GetCellValue(string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | The string represents the column name. |
Returns
Type | Description |
---|---|
System.Object | The element at the specified cell. |
NextRow()
Returns a value indicating whether the end of row is reached.
Declaration
bool NextRow()
Returns
Type | Description |
---|---|
System.Boolean | True if it is end of row, otherwise false |
Reset()
Resets the row index.
Declaration
void Reset()