Table of Contents

Class ColumnToSearch

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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

columnHeader string

The 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

columnHeader string

The column's name.

columnHeaderOccurrence uint

0-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

columnIndex uint

0-based column index.

Returns

ColumnToSearch

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