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

In This Topic
    FindString(String,Int32,String) 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 field As String _
    ) As Integer
    public int FindString( 
       string s,
       int startIndex,
       string field
    )

    Parameters

    s
    The target string.
    startIndex
    The row started.
    field
    The field name of the column.
    See Also