[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.FindString

FindString Method

FindString(string, int, int)

Finds the first item after the given index which starts with the given string.

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

The string to search for.

int startIndex

The zero-based index of the item before the first item to be searched.

int findTargetColumnIndex

The int value to which column index search in.

Returns
Type Description
int

The zero-based index of the first item found; returns -1 if no match is found.