Share this page

# ColumnToSearch Class

Class defining the table column in which to search.

C# Syntax

                            public class ColumnToSearch

Remarks

Usage example:

`var columnToSearch = ColumnToSearch.ByIndex(5);`

`var columnToSearch = ColumnToSearch.ByHeader("header2", 1);`

Inheritance Hierarchy

System.Object
HP.LFT.SDK.Web.ColumnToSearch

Public Methods

| Name | Description
--- | --- | ---
| ByIndex | Returns the object that specifies the table column in which to search. C# Syntax
    public static ColumnToSearch ByIndex(uint columnIndex)
Parameters columnIndex 0-based column index.
| ByHeader(String) | Returns the object that specifies the table column in which to search. C# Syntax
    public static ColumnToSearch ByHeader(
       string columnHeader
    )
Parameters columnHeader The column's name.
| ByHeader(String,UInt32) | Returns the object that specifies the table column in which to search. C# Syntax
    public static ColumnToSearch ByHeader(
       string columnHeader,
       uint columnHeaderOccurrence
    )
Parameters columnHeader The column's name. columnHeaderOccurrence 0-based ordinal number of the column name's occurrence if the table has multiple columns with the same name.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: