ComponentOne List for WinForms
C1.Win.List Namespace / DropDownList Class / FindString Method / FindString(String,Int32,Int32) Method
The target string.
The row started.
The index of column.

In This Topic
    FindString(String,Int32,Int32) Method
    In This Topic
    Finds the first row index after startIndex such that the cell text starts with string s in the given column.
    Syntax
    'Declaration
     
    
    Public Overloads Function FindString( _
       ByVal s As String, _
       ByVal startIndex As Integer, _
       ByVal col As Integer _
    ) As Integer
    public int FindString( 
       string s,
       int startIndex,
       int col
    )

    Parameters

    s
    The target string.
    startIndex
    The row started.
    col
    The index of column.
    See Also