 | WorksheetFirstOrDefaultCell Method |
Searches for the first occurrence of the expression.
Example: var cell = worksheet.FindCell(c => c.Value?.ToString().Contains("searchValue"));
Namespace: PicoXLSXAssembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.5+3a069966d2787c42b695e5043a5e083b247634e3
Syntaxpublic Cell FirstOrDefaultCell(
Func<Cell, bool> predicate
)
Parameters
- predicate FuncCell, Boolean
[Missing <param name="predicate"/> documentation for "M:PicoXLSX.Worksheet.FirstOrDefaultCell(System.Func{PicoXLSX.Cell,System.Boolean})"]
Return Value
CellThe first cell containing the searched value or null if the value was not found
See Also