Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / Search Method / Search(String,SearchFlags,Int32,Int32) Method
The string for which to search.
The SearchFlags enumeration that specifies the search options.
The row index at which the match is found.
The column index at which the match is found.


In This Topic
    Search(String,SearchFlags,Int32,Int32) Method
    In This Topic
    Searches the text in the cells for the specified string with the specified criteria.
    Syntax
    'Declaration
     
    Public Overloads Sub Search( _
       ByVal searchString As String, _
       ByVal searchFlags As SearchFlags, _
       ByRef foundRowIndex As Integer, _
       ByRef foundColumnIndex As Integer _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim searchString As String
    Dim searchFlags As SearchFlags
    Dim foundRowIndex As Integer
    Dim foundColumnIndex As Integer
     
    instance.Search(searchString, searchFlags, foundRowIndex, foundColumnIndex)
    public void Search( 
       string searchString,
       SearchFlags searchFlags,
       out int foundRowIndex,
       out int foundColumnIndex
    )

    Parameters

    searchString
    The string for which to search.
    searchFlags
    The SearchFlags enumeration that specifies the search options.
    foundRowIndex
    The row index at which the match is found.
    foundColumnIndex
    The column index at which the match is found.
    See Also