 | 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.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
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