Class ColumnToSearch
Class defining the table column in which to search.
public class ColumnToSearch
- Inheritance
-
ColumnToSearch
- Inherited Members
Remarks
Usage example: var columnToSearch = ColumnToSearch.ByIndex(5); var columnToSearch = ColumnToSearch.ByHeader("header2", 1);
Methods
ByHeader(string)
Returns the object that specifies the table column in which to search.
public static ColumnToSearch ByHeader(string columnHeader)
Parameters
columnHeaderstringThe column's name.
Returns
- ColumnToSearch
The object that specifies the table column in which to search.
ByHeader(string, uint)
Returns the object that specifies the table column in which to search.
public static ColumnToSearch ByHeader(string columnHeader, uint columnHeaderOccurrence)
Parameters
columnHeaderstringThe column's name.
columnHeaderOccurrenceuint0-based ordinal number of the column name's occurrence if the table has multiple columns with the same name.
Returns
- ColumnToSearch
The object that specifies the table column in which to search.
ByIndex(uint)
Returns the object that specifies the table column in which to search.
public static ColumnToSearch ByIndex(uint columnIndex)
Parameters
columnIndexuint0-based column index.
Returns
- ColumnToSearch
The object that specifies the table column in which to search.