[]
        
(Showing Draft Content)

C1.Win.List.C1List.FindString

FindString Method

FindString(string)

Finds the first row index such that the cell text starts with string s in the column specified by the DisplayMember property.

Declaration
public int FindString(string s)
Public Function FindString(s As String) As Integer
Parameters
Type Name Description
string s

The target string.

Returns
Type Description
int

FindString(string, int)

Finds the first row index after startIndex such that the cell text starts with string s in the column specified by the DisplayMember property.

Declaration
public int FindString(string s, int startIndex)
Public Function FindString(s As String, startIndex As Integer) As Integer
Parameters
Type Name Description
string s

The target string.

int startIndex

The row started.

Returns
Type Description
int

FindString(string, int, int)

Finds the first row index after startIndex such that the cell text starts with string s in the given column.

Declaration
public int FindString(string s, int startIndex, int col)
Public Function FindString(s As String, startIndex As Integer, col As Integer) As Integer
Parameters
Type Name Description
string s

The target string.

int startIndex

The row started.

int col

The index of column.

Returns
Type Description
int

FindString(string, int, string)

Finds the first row index after startIndex such that the cell text starts with string s in the given column.

Declaration
public int FindString(string s, int startIndex, string field)
Public Function FindString(s As String, startIndex As Integer, field As String) As Integer
Parameters
Type Name Description
string s

The target string.

int startIndex

The row started.

string field

The field name of the column.

Returns
Type Description
int