Click or drag to resize

IWorkbook FindOne Method (TimeSpan)

This method seraches for the first cell with specified TimeSpan value.
Examples
This sample shows how to find the first cell with specified TimeSpan value:
<para>//Create workbook</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>//Find cell with specified TimeSpan value</para><para>TimeSpan timeSpan = new TimeSpan(2, 30, 30);</para><para>IXLSRange result = workbook.FindTimeSpan(timeSpan);</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IXLSRange FindOne(
	TimeSpan findValue
)

Parameters

findValue
Type: System TimeSpan
Value to search.

Return Value

Type: IXLSRange
First found cell, or Null if value was not found.
See Also