Syncfusion.XlsIO.Base
Example 


Value to search.

FindAll(Boolean) Method

Returns the cells of the specified bool value.
Syntax
'Declaration
 
Overloads Function FindAll( _
   ByVal findValue As Boolean _
) As IRange()
'Usage
 
Dim instance As IWorksheet
Dim findValue As Boolean
Dim value() As IRange
 
value = instance.FindAll(findValue)
IRange[] FindAll( 
   bool findValue
)

Parameters

findValue
Value to search.

Return Value

Returns the cells with a specified bool value, or null if value was not found.
Example
The following code illustrates how to find the cells with specified bool value.
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Create(1);
IWorksheet sheet = workbook.Worksheets[0];
            
//Find all with bool.
IRange[] results = sheet.FindAll(true);
            
string fileName = "Find.xlsx";
workbook.SaveAs(fileName);
workbook.Close();
excelEngine.Dispose();
AssemblyVersion

Syncfusion.XlsIO.Base: 16.3460.0.29

See Also