Table of Contents

Class ColumnToSearch

Class defining the table column in which to search.

Inheritance
ColumnToSearch
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class ColumnToSearch
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.

Declaration
public static ColumnToSearch ByHeader(string columnHeader)
Parameters
Type Name Description
string columnHeader

The column's name.

Returns
Type Description
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.

Declaration
public static ColumnToSearch ByHeader(string columnHeader, uint columnHeaderOccurrence)
Parameters
Type Name Description
string columnHeader

The column's name.

uint columnHeaderOccurrence

0-based ordinal number of the column name's occurrence if the table has multiple columns with the same name.

Returns
Type Description
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.

Declaration
public static ColumnToSearch ByIndex(uint columnIndex)
Parameters
Type Name Description
uint columnIndex

0-based column index.

Returns
Type Description
ColumnToSearch

The object that specifies the table column in which to search.