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
 NameDescription
Public Methodstatic (Shared in Visual Basic)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.
Public Methodstatic (Shared in Visual Basic)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.
Public Methodstatic (Shared in Visual Basic)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