Click or drag to resize
NanoXLSX

WorksheetFirstOrDefaultCell Method

Searches for the first occurrence of the expression. Example: var cell = worksheet.FindCell(c => c.Value?.ToString().Contains("searchValue"));

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
public Cell FirstOrDefaultCell(
	Func<Cell, bool> predicate
)

Parameters

predicate  FuncCell, Boolean

[Missing <param name="predicate"/> documentation for "M:NanoXLSX.Worksheet.FirstOrDefaultCell(System.Func{NanoXLSX.Cell,System.Boolean})"]

Return Value

Cell
The first cell containing the searched value or null if the value was not found
See Also