GrapeCity.Xaml.SpreadSheet.Data
Search(Int32,String,SearchFlags,Int32,Int32) Method


GrapeCity.Xaml.SpreadSheet.Data Namespace > Workbook Class > Search Method : Search(Int32,String,SearchFlags,Int32,Int32) Method
The index of the sheet on which to search.
The string for which to search.
The search options.
The index of the row at which a match is found.
The index of the column at which a match is found.
Searches the text in the cells in the specified sheet for the specified string with the specified criteria.
Syntax
'Declaration
 
Public Overloads Sub Search( _
   ByVal sheetIndex As Integer, _
   ByVal searchString As String, _
   ByVal searchFlags As SearchFlags, _
   ByRef foundRowIndex As Integer, _
   ByRef foundColumnIndex As Integer _
) 
'Usage
 
Dim instance As Workbook
Dim sheetIndex As Integer
Dim searchString As String
Dim searchFlags As SearchFlags
Dim foundRowIndex As Integer
Dim foundColumnIndex As Integer
 
instance.Search(sheetIndex, searchString, searchFlags, foundRowIndex, foundColumnIndex)
public void Search( 
   int sheetIndex,
   string searchString,
   SearchFlags searchFlags,
   out int foundRowIndex,
   out int foundColumnIndex
)

Parameters

sheetIndex
The index of the sheet on which to search.
searchString
The string for which to search.
searchFlags
The search options.
foundRowIndex
The index of the row at which a match is found.
foundColumnIndex
The index of the column at which a match is found.
See Also

Reference

Workbook Class
Workbook Members
Overload List